Remove unmounting errors after installation.
[people/pmueller/ipfire-2.x.git] / config / install / halt
... / ...
CommitLineData
1#!/bin/sh
2# Clear screen
3/usr/bin/clear
4echo "Shutting down..."
5echo "Sending all processes the TERM signal..."
6/sbin/killall5 -15
7sleep 3
8echo "Sending all processes the KILL signal..."
9/sbin/killall5 -9
10sleep 3
11echo "Unmounting filesystems..."
12/bin/umount -a > /dev/null 2>&1
13echo "Unmounting root..."
14/bin/mount -n -o remount,ro /
15echo "Rebooting..."
16/sbin/reboot -f