* Fixed problem when BASEDIR paths were given without a trailing '/'.
[linux_from_scratch.git] / bootscripts / lfs / init.d / reboot
blob739f259c7e03a4066bea29de010a5af47a987177
1 #!/bin/sh
2 # Begin $rc_base/init.d/reboot - Reboot Script
4 # Written by Gerard Beekmans - gerard@linuxfromscratch.org
6 . /etc/sysconfig/rc
7 . $rc_functions
9 case "$1" in
10 stop)
11 reboot -d -f -i
15 echo "Usage: $0 {stop}"
16 exit 1
19 esac
21 # End $rc_base/init.d/reboot