]>
Commit | Line | Data |
---|---|---|
cd1a2927 | 1 | #!/bin/sh |
de297ec3 | 2 | # Clear screen |
96ed9998 | 3 | sleep 60 |
de297ec3 MT |
4 | /bin/clear |
5 | ||
cd1a2927 | 6 | echo "Shutting down..." |
de297ec3 | 7 | echo "Sending all processes the TERM signal..." |
3d6e1202 | 8 | /bin/killall5 -15 |
cd1a2927 MT |
9 | sleep 3 |
10 | echo "Sending all processes the KILL signal..." | |
3d6e1202 | 11 | /bin/killall5 -9 |
cd1a2927 | 12 | sleep 3 |
3d6e1202 MT |
13 | echo "Unmounting filesystems" |
14 | /bin/umount /tmp | |
15 | /bin/umount /sys | |
16 | /bin/umount /dev/pts | |
17 | /bin/umount /dev | |
18 | /bin/umount /root | |
19 | /bin/umount /proc | |
cd1a2927 | 20 | echo "Unmounting root" |
3d6e1202 MT |
21 | /bin/mount -n -o remount,ro / |
22 | /bin/reboot |