micro-utils/configs/rc.poweroff

10 lines
125 B
Bash
Executable File

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