]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/bash | |
2 | /usr/local/sbin/setup /dev/tty2 INSTALL | |
3 | /usr/bin/clear | |
4 | echo "Reboot ..." | |
5 | echo "Sending all processes the TERM signal..." | |
6 | /sbin/killall5 -15 | |
7 | sleep 3 | |
8 | echo "Sending all processes the KILL signal..." | |
9 | /sbin/killall5 -15 | |
10 | sleep 3 | |
11 | echo "Unmounting Filesystems..." | |
12 | /bin/umount /sys | |
13 | /bin/umount /dev/pts | |
14 | /bin/umount /proc | |
15 | /bin/umount /boot | |
16 | /bin/umount /var/log/rrd | |
17 | /bin/umount /var/lock | |
18 | /bin/umount /var/run | |
19 | /bin/umount /var | |
20 | rm -f /etc/rc.d/rcsysinit.d/S75firstsetup \ | |
21 | && /bin/mount -n -o remount,ro / \ | |
22 | && /sbin/reboot -f |