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