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