repo.or.cz
/
linux_from_scratch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* Fixed problem when BASEDIR paths were given without a trailing '/'.
[linux_from_scratch.git]
/
bootscripts
/
lfs
/
init.d
/
reboot
blob
739f259c7e03a4066bea29de010a5af47a987177
1
#!/bin/sh
2
# Begin $rc_base/init.d/reboot - Reboot Script
3
4
# Written by Gerard Beekmans - gerard@linuxfromscratch.org
5
6
.
/
etc
/
sysconfig
/
rc
7
.
$rc_functions
8
9
case
"
$1
"
in
10
stop
)
11
reboot
-d -f -i
12
;;
13
14
*)
15
echo
"Usage:
$0
{stop}"
16
exit
1
17
;;
18
19
esac
20
21
# End $rc_base/init.d/reboot