Changeset 2f0d64d
- 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
- Files:
-
- 8 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 -
chapter01/changelog.xml
r841b723 r2f0d64d 42 42 <itemizedlist> 43 43 <listitem> 44 <para>[bdubbs] - Fixes to bootscripts: 45 <itemizedlist> 46 <listitem><para>Remove unneeded function literals.</para></listitem> 47 <listitem><para>Fix pidlist logic in statusproc.</para></listitem> 48 <listitem><para>Fix statusproc usage statement.</para></listitem> 49 <listitem><para>Add nodevtmpfs in mountfs stop.</para></listitem> 50 </itemizedlist> 51 </para> 52 </listitem> 53 <listitem> 54 <para>[bdubbs] Add nodump to xml so command to print out 55 70-persistent-net.rules will not be used in jhalfs. 56 Fixes a problem in kvm.</para> 57 </listitem> 58 <listitem> 44 59 <para>[bryan] - Fix up text in section 7.4 ("device and module 45 60 handling"), and change the recommendation for wrapper modules to -
chapter07/network.xml
r841b723 r2f0d64d 52 52 file, to find out which name was assigned to which network device:</para> 53 53 54 <screen ><userinput>cat /etc/udev/rules.d/70-persistent-net.rules</userinput></screen>54 <screen role="nodump"><userinput>cat /etc/udev/rules.d/70-persistent-net.rules</userinput></screen> 55 55 56 56 <para>The file begins with a comment block followed by two lines for each -
packages.ent
r841b723 r2f0d64d 306 306 <!ENTITY less-ch6-sbu "less than 0.1 SBU"> 307 307 308 <!ENTITY lfs-bootscripts-version "20120 127"> <!-- Scripts depend on this format -->308 <!ENTITY lfs-bootscripts-version "20120204"> <!-- Scripts depend on this format --> 309 309 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile --> 310 310 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
Note:
See TracChangeset
for help on using the changeset viewer.