merge / skulls

pre-built coreboot images and documentation on how to flash them for Thinkpad Laptops
GNU General Public License v3.0
677 stars 65 forks source link

modify scripts to fallback to traditional commands if no systemd #151

Closed emacsomancer closed 4 years ago

emacsomancer commented 4 years ago

for portability, fall back to traditional UNIX commands for poweroff when systemctl is not found

merge commented 4 years ago

thanks! Could you move the function to the util/functions.sh file and possible rename it to just "shutdown" (not need for "afterflashing").