summaryrefslogtreecommitdiff
path: root/source/installer/sources/initrd/sbin/brc
blob: 683f471bf627c87625fccd5d78599e8d6340773d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# /sbin/brc (whatever that means ;)
# This script gets run just before the system is down.
#
cat << EOF


The system is rebooting NOW!

Syncing disks...
EOF
/bin/sync
echo
echo "Unmounting file systems... "
/bin/umount -a 1> /dev/null 2> /dev/null
echo
sleep 2
/sbin/reboot -f