]> 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 bc823e3f9a925bd7151c2bc9e5a71bba634b7118..90a0c80fe74b4f4804d0f00d54d0e31dc9e81404 100644 (file)
@@ -1,22 +1,16 @@
 #!/bin/sh
 # Clear screen
-sleep 60
-/bin/clear
-
+/usr/bin/clear
 echo "Shutting down..."
 echo "Sending all processes the TERM signal..."
-/bin/killall5 -15
+/sbin/killall5 -15
 sleep 3
 echo "Sending all processes the KILL signal..."
-/bin/killall5 -9
+/sbin/killall5 -9
 sleep 3
-echo "Unmounting filesystems"
-/bin/umount /tmp
-/bin/umount /sys
-/bin/umount /dev/pts
-/bin/umount /dev
-/bin/umount /root
-/bin/umount /proc
-echo "Unmounting root"
+echo "Unmounting filesystems..."
+/bin/umount -a > /dev/null 2>&1
+echo "Unmounting root..."
 /bin/mount -n -o remount,ro /
-/bin/reboot
+echo "Rebooting..."
+/sbin/reboot -f