micro-utils/configs/rc.poweroff
2024-07-02 19:48:16 +00:00

15 lines
164 B
Bash

#!/bin/sh
#FIXME!!!
echo "[*] Umounting..."
umount -a
echo "[*] Syncing..."
sync
echo "[*] Closing processes..."
kill -a -s TERM
sleep 5
echo "[*] Poweroff..."