]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/install/halt
"Update Booster" fertiggestellt und getestet.
[people/pmueller/ipfire-2.x.git] / config / install / halt
CommitLineData
cd1a2927 1#!/bin/sh
de297ec3
MT
2# Clear screen
3/bin/clear
4
cd1a2927 5echo "Shutting down..."
de297ec3 6echo "Sending all processes the TERM signal..."
3d6e1202 7/bin/killall5 -15
cd1a2927
MT
8sleep 3
9echo "Sending all processes the KILL signal..."
3d6e1202 10/bin/killall5 -9
cd1a2927 11sleep 3
3d6e1202
MT
12echo "Unmounting filesystems"
13/bin/umount /tmp
14/bin/umount /sys
15/bin/umount /dev/pts
16/bin/umount /dev
17/bin/umount /root
18/bin/umount /proc
cd1a2927 19echo "Unmounting root"
3d6e1202
MT
20/bin/mount -n -o remount,ro /
21/bin/reboot