]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/install/halt
Remove unmounting errors after installation.
[people/pmueller/ipfire-2.x.git] / config / install / halt
index 22a170e9ecf6cabf86ec479db468fc246a88af14..90a0c80fe74b4f4804d0f00d54d0e31dc9e81404 100644 (file)
@@ -1,19 +1,16 @@
 #!/bin/sh
+# Clear screen
+/usr/bin/clear
 echo "Shutting down..."
-echo "Sending all processes the TERM signal..." 
+echo "Sending all processes the TERM signal..."
 /sbin/killall5 -15
 sleep 3
 echo "Sending all processes the KILL signal..."
 /sbin/killall5 -9
 sleep 3
-echo "Unmounting /cdrom, /harddisk/boot, /harddisk/var/log and /harddisk"
-/sbin/umount /cdrom
-/sbin/umount /harddisk/boot
-/sbin/umount /harddisk/var/log
-/sbin/umount /harddisk
-echo "Unmounting /proc"
-/sbin/umount /proc/bus/usb
-/sbin/umount /proc
-echo "Unmounting root"
-/sbin/mount -n -o remount,ro /
-/sbin/reboot -i -d -p
+echo "Unmounting filesystems..."
+/bin/umount -a > /dev/null 2>&1
+echo "Unmounting root..."
+/bin/mount -n -o remount,ro /
+echo "Rebooting..."
+/sbin/reboot -f