13 lines
153 B
Bash
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..."
|