micro-utils/configs/rc.poweroff

13 lines
153 B
Plaintext
Raw Normal View History

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