New Installer based on dracut hw-detection (uClibc removed).
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / firstsetup
CommitLineData
6cf9e770
AF
1#!/bin/bash
2/usr/local/sbin/setup /dev/tty2 INSTALL
3/usr/bin/clear
4echo "Reboot ..."
5echo "Sending all processes the TERM signal..."
6/sbin/killall5 -15
7sleep 3
8echo "Sending all processes the KILL signal..."
9/sbin/killall5 -15
10sleep 3
11echo "Unmounting Filesystems..."
12/bin/umount /sys
13/bin/umount /dev/pts
14/bin/umount /proc
15/bin/umount /boot
16/bin/umount /var/log/rrd
17/bin/umount /var/lock
18/bin/umount /var/run
19/bin/umount /var
20rm -f /etc/rc.d/rcsysinit.d/S75firstsetup \
21&& /bin/mount -n -o remount,ro / \
22&& /sbin/reboot -f