]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame_incremental - config/install/halt
Vorbereitung am Installer/Setup um NIC-Namen umzubenennen.
[people/teissler/ipfire-2.x.git] / config / install / halt
... / ...
CommitLineData
1#!/bin/sh
2# Clear screen
3sleep 60
4/bin/clear
5
6echo "Shutting down..."
7echo "Sending all processes the TERM signal..."
8/bin/killall5 -15
9sleep 3
10echo "Sending all processes the KILL signal..."
11/bin/killall5 -9
12sleep 3
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
20echo "Unmounting root"
21/bin/mount -n -o remount,ro /
22/bin/reboot