]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/install/halt
Added missung nsupdate to core29, rearanged corefile
[people/pmueller/ipfire-2.x.git] / config / install / halt
index 22a170e9ecf6cabf86ec479db468fc246a88af14..666c27c649cc3a679ed934e9cd787d07fd65696a 100644 (file)
@@ -1,19 +1,21 @@
 #!/bin/sh
+# Clear screen
+/bin/clear
+
 echo "Shutting down..."
-echo "Sending all processes the TERM signal..." 
-/sbin/killall5 -15
+echo "Sending all processes the TERM signal..."
+/bin/killall5 -15
 sleep 3
 echo "Sending all processes the KILL signal..."
-/sbin/killall5 -9
+/bin/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 filesystems"
+/bin/umount /tmp
+/bin/umount /sys
+/bin/umount /dev/pts
+/bin/umount /dev
+/bin/umount /root
+/bin/umount /proc
 echo "Unmounting root"
-/sbin/mount -n -o remount,ro /
-/sbin/reboot -i -d -p
+/bin/mount -n -o remount,ro /
+/bin/reboot