micro-utils/configs/rc.poweroff

13 lines
153 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
2024-02-01 18:09:23 +00:00
echo "[*] Umounting..."
2024-01-21 10:46:44 +00:00
umount -a
2024-05-27 10:29:18 +00:00
echo "[*] Syncing..."
sync
2024-02-01 18:09:23 +00:00
echo "[*] Closing processes..."
2023-12-24 10:27:51 +00:00
kill -a -s TERM
sleep 5
2024-02-01 18:09:23 +00:00
echo "[*] Poweroff..."