micro-utils/configs/rc.poweroff
2024-07-01 13:23:00 +03:00

13 lines
153 B
Bash

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