micro-utils/configs/rc.poweroff

15 lines
164 B
Plaintext
Raw Normal View History

2024-07-01 10:23:00 +00:00
#!/bin/sh
2024-07-02 19:48:16 +00:00
#FIXME!!!
2024-07-01 10:23:00 +00:00
echo "[*] Umounting..."
umount -a
echo "[*] Syncing..."
sync
echo "[*] Closing processes..."
kill -a -s TERM
sleep 5
echo "[*] Poweroff..."