Changeset 101ec20
- Timestamp:
- 03/26/2022 10:06:54 PM (2 years ago)
- Branches:
- arm
- Children:
- 5621def
- Parents:
- b00d379
- git-author:
- Pierre Labastie <pierre.labastie@…> (03/22/2022 01:29:15 PM)
- git-committer:
- William Harrington <kb0iic@…> (03/26/2022 10:06:54 PM)
- Location:
- bootscripts/lfs/init.d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/halt
rb00d379 r101ec20 8 8 # DJ Lucas - dj@linuxfromscratch.org 9 9 # Update : Bruce Dubbs - bdubbs@linuxfromscratch.org 10 # : Pierre Labastie - pierre@linuxfromscratch.org 10 11 # 11 12 # Version : LFS 7.0 13 # 14 # Notes : Update March 24th, 2022: change "stop" to "start". 15 # Add the $last facility to Required-start 12 16 # 13 17 ######################################################################## … … 15 19 ### BEGIN INIT INFO 16 20 # Provides: halt 17 # Required-Start: 21 # Required-Start: $last 18 22 # Should-Start: 19 23 # Required-Stop: … … 27 31 28 32 case "${1}" in 29 st op)33 start) 30 34 halt -d -f -i -p 31 35 ;; 32 36 33 37 *) 34 echo "Usage: {st op}"38 echo "Usage: {start}" 35 39 exit 1 36 40 ;; -
bootscripts/lfs/init.d/reboot
rb00d379 r101ec20 7 7 # Authors : Gerard Beekmans - gerard@linuxfromscratch.org 8 8 # DJ Lucas - dj@linuxfromscratch.org 9 # Update : Bruce Dubbs - bdubbs@linuxfromscratch.org 9 # Updates : Bruce Dubbs - bdubbs@linuxfromscratch.org 10 # : Pierre Labastie - pierre@linuxfromscratch.org 10 11 # 11 12 # Version : LFS 7.0 13 # 14 # Notes : Update March 24th, 2022: change "stop" to "start". 15 # Add the $last facility to Required-start 12 16 # 13 17 ######################################################################## … … 15 19 ### BEGIN INIT INFO 16 20 # Provides: reboot 17 # Required-Start: 21 # Required-Start: $last 18 22 # Should-Start: 19 23 # Required-Stop: … … 29 33 30 34 case "${1}" in 31 st op)35 start) 32 36 log_info_msg "Restarting system..." 33 37 reboot -d -f -i … … 35 39 36 40 *) 37 echo "Usage: ${0} {st op}"41 echo "Usage: ${0} {start}" 38 42 exit 1 39 43 ;;
Note:
See TracChangeset
for help on using the changeset viewer.