]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/install/halt
Kernelconfig und Rootfile nachgeliefert...
[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..."
3d6e1202 4/bin/killall5 -15
cd1a2927
MT
5sleep 3
6echo "Sending all processes the KILL signal..."
3d6e1202 7/bin/killall5 -9
cd1a2927 8sleep 3
3d6e1202
MT
9echo "Unmounting filesystems"
10/bin/umount /tmp
11/bin/umount /sys
12/bin/umount /dev/pts
13/bin/umount /dev
14/bin/umount /root
15/bin/umount /proc
cd1a2927 16echo "Unmounting root"
3d6e1202
MT
17/bin/mount -n -o remount,ro /
18/bin/reboot