Remove uneeded reboot after setup.

Todo: change the message at end of setup...
This commit is contained in:
Arne Fitzenreiter
2010-08-11 23:22:34 +02:00
parent f16bec2829
commit 156bae21d4
2 changed files with 20 additions and 35 deletions

View File

@@ -1,22 +1,8 @@
#!/bin/bash
/usr/local/sbin/setup /dev/tty2 INSTALL
/usr/bin/clear
echo "Reboot ..."
echo "Sending all processes the TERM signal..."
/sbin/killall5 -15
sleep 3
echo "Sending all processes the KILL signal..."
/sbin/killall5 -15
sleep 3
echo "Unmounting Filesystems..."
/bin/umount /sys
/bin/umount /dev/pts
/bin/umount /proc
/bin/umount /boot
/bin/umount /var/log/rrd
/bin/umount /var/lock
/bin/umount /var/run
/bin/umount /var
rm -f /etc/rc.d/rcsysinit.d/S75firstsetup \
&& /bin/mount -n -o remount,ro / \
&& /sbin/reboot -f
echo Restarting udev...
killall udevd
/sbin/udevd --daemon
/sbin/udevadm trigger
/sbin/udevadm settle
rm -f /etc/rc.d/rcsysinit.d/S75firstsetup