Added rc symlinks and untarred source for tracking
This commit is contained in:
39
SRC/initscripts-0.1/etc/init.d/halt
Normal file
39
SRC/initscripts-0.1/etc/init.d/halt
Normal file
@@ -0,0 +1,39 @@
|
||||
#!/bin/sh
|
||||
########################################################################
|
||||
# Begin halt
|
||||
#
|
||||
# Description : Halt Script
|
||||
#
|
||||
# Authors : Gerard Beekmans - gerard@linuxfromscratch.org
|
||||
# DJ Lucas - dj@linuxfromscratch.org
|
||||
# Update : Bruce Dubbs - bdubbs@linuxfromscratch.org
|
||||
#
|
||||
# Version : LFS 7.0
|
||||
#
|
||||
########################################################################
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: halt
|
||||
# Required-Start:
|
||||
# Should-Start:
|
||||
# Required-Stop:
|
||||
# Should-Stop:
|
||||
# Default-Start: 0
|
||||
# Default-Stop:
|
||||
# Short-Description: Halts the system.
|
||||
# Description: Halts the System.
|
||||
# X-LFS-Provided-By: LFS
|
||||
### END INIT INFO
|
||||
|
||||
case "${1}" in
|
||||
stop)
|
||||
halt -d -f -i -p
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Usage: {stop}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# End halt
|
||||
Reference in New Issue
Block a user