Install-Initrd finalisiert..
[people/pmueller/ipfire-2.x.git] / config / install / halt
CommitLineData
cd1a2927
MT
1#!/bin/sh
2echo "Shutting down..."
3echo "Sending all processes the TERM signal..."
4/sbin/killall5 -15
5sleep 3
6echo "Sending all processes the KILL signal..."
7/sbin/killall5 -9
8sleep 3
9echo "Unmounting /cdrom, /harddisk/boot, /harddisk/var/log and /harddisk"
10/sbin/umount /cdrom
11/sbin/umount /harddisk/boot
12/sbin/umount /harddisk/var/log
13/sbin/umount /harddisk
14echo "Unmounting /proc"
15/sbin/umount /proc/bus/usb
16/sbin/umount /proc
17echo "Unmounting root"
18/sbin/mount -n -o remount,ro /
19/sbin/reboot -i -d -p