]> git.ipfire.org Git - ipfire-2.x.git/blame_incremental - config/install/halt
New Installer based on dracut hw-detection (uClibc removed).
[ipfire-2.x.git] / config / install / halt
... / ...
CommitLineData
1#!/bin/sh
2# Clear screen
3/usr/bin/clear
4echo "Shutting down..."
5echo "Sending all processes the TERM signal..."
6/sbin/killall5 -15
7sleep 3
8echo "Sending all processes the KILL signal..."
9/sbin/killall5 -9
10sleep 3
11echo "Unmounting filesystems"
12/bin/umount /tmp
13/bin/umount /sys
14/bin/umount /dev/pts
15/bin/umount /dev
16/bin/umount /root
17/bin/umount /proc
18echo "Unmounting root"
19/bin/mount -n -o remount,ro /
20/sbin/reboot -f