Changeset 2f0d64d for bootscripts/lfs
- Timestamp:
- 02/05/2012 06:05:45 AM (12 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- f365e1e
- Parents:
- 841b723
- Location:
- bootscripts/lfs
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/cleanfs
r841b723 r2f0d64d 31 31 32 32 # Function to create files/directory on boot. 33 functioncreate_files()33 create_files() 34 34 { 35 35 # Input to file descriptor 9 and output to stdin (redirection) -
bootscripts/lfs/init.d/mountfs
r841b723 r2f0d64d 63 63 # Don't unmount tmpfs like /run 64 64 log_info_msg "Unmounting all other currently mounted file systems..." 65 umount -a -d -r -t notmpfs,nosysfs >/dev/null65 umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs >/dev/null 66 66 evaluate_retval 67 67 exit 0 -
bootscripts/lfs/init.d/rc
r841b723 r2f0d64d 1 #!/bin/ bash1 #!/bin/sh 2 2 ######################################################################## 3 3 # Begin rc … … 15 15 . /lib/lsb/init-functions 16 16 17 functionprint_error_msg()17 print_error_msg() 18 18 { 19 19 log_failure_msg … … 34 34 } 35 35 36 functioncheck_script_status()36 check_script_status() 37 37 { 38 38 # $i is set when called … … 48 48 } 49 49 50 functionrun()50 run() 51 51 { 52 52 if [ -z $interactive ]; then -
bootscripts/lfs/lib/services/init-functions
r841b723 r2f0d64d 458 458 459 459 if [ "${?}" -eq "0" ]; then 460 lpids="${ pids}${pid} "460 lpids="${lpids}${pid} " 461 461 else 462 462 exitstatus="1" … … 491 491 492 492 if [ "${#}" = "0" ]; then 493 echo "Usage: [-p pidfle] statusproc{program}"493 echo "Usage: statusproc [-p pidfle] {program}" 494 494 exit 1 495 495 fi … … 515 515 done 516 516 517 if [ - z"${pidfile}" ]; then517 if [ -n "${pidfile}" ]; then 518 518 pidlist=`pidofproc -p "${pidfile}" $@` 519 519 else -
bootscripts/lfs/sbin/ifdown
r841b723 r2f0d64d 1 #!/bin/ bash1 #!/bin/sh 2 2 ######################################################################## 3 3 # Begin /sbin/ifdown
Note:
See TracChangeset
for help on using the changeset viewer.