]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/install/halt
New Installer based on dracut hw-detection (uClibc removed).
[people/pmueller/ipfire-2.x.git] / config / install / halt
CommitLineData
cd1a2927 1#!/bin/sh
de297ec3 2# Clear screen
6cf9e770 3/usr/bin/clear
cd1a2927 4echo "Shutting down..."
de297ec3 5echo "Sending all processes the TERM signal..."
6cf9e770 6/sbin/killall5 -15
cd1a2927
MT
7sleep 3
8echo "Sending all processes the KILL signal..."
6cf9e770 9/sbin/killall5 -9
cd1a2927 10sleep 3
3d6e1202
MT
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
cd1a2927 18echo "Unmounting root"
3d6e1202 19/bin/mount -n -o remount,ro /
6cf9e770 20/sbin/reboot -f