]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Remove unmounting errors after installation.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 12 Aug 2010 16:04:14 +0000 (18:04 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 12 Aug 2010 16:04:14 +0000 (18:04 +0200)
config/install/halt

index 1518f7d4cb8e14d5131badbe564e21bf67c86e9f..90a0c80fe74b4f4804d0f00d54d0e31dc9e81404 100644 (file)
@@ -8,13 +8,9 @@ sleep 3
 echo "Sending all processes the KILL signal..."
 /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 /
+echo "Rebooting..."
 /sbin/reboot -f