Changeset cba2d4e for bootscripts/lfs
- Timestamp:
- 04/03/2014 09:52:09 PM (10 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.6, 7.7, 7.8, 7.9, 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:
- 9839808
- Parents:
- 008436e
- Location:
- bootscripts/lfs
- Files:
-
- 2 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/localnet
r008436e rcba2d4e 29 29 . /lib/lsb/init-functions 30 30 [ -r /etc/sysconfig/network ] && . /etc/sysconfig/network 31 [ -r /etc/hostname ] && HOSTNAME=`cat /etc/hostname` 31 32 32 33 case "${1}" in -
bootscripts/lfs/init.d/mountfs
r008436e rcba2d4e 40 40 rm -f /fastboot /forcefsck 41 41 42 # Make sure /dev/pts exists 43 mkdir -p /dev/pts 44 42 45 # This will mount all filesystems that do not have _netdev in 43 46 # their option list. _netdev denotes a network filesystem. -
bootscripts/lfs/init.d/mountvirtfs
r008436e rcba2d4e 32 32 case "${1}" in 33 33 start) 34 # Make sure /run /varis available before logging any messages34 # Make sure /run is available before logging any messages 35 35 if ! mountpoint /run >/dev/null; then 36 36 mount /run || failed=1 37 37 fi 38 38 39 mkdir -p /run/ var /run/lock /run/shm39 mkdir -p /run/lock /run/shm 40 40 chmod 1777 /run/shm 41 41 -
bootscripts/lfs/init.d/rc
r008436e rcba2d4e 218 218 # Copy the boot log on initial boot only 219 219 if [ "${previous}" == "N" -a "${runlevel}" != "S" ]; then 220 cat /run/var/bootlog>> /var/log/boot.log220 cat $BOOTLOG >> /var/log/boot.log 221 221 222 222 # Mark the end of boot … … 224 224 225 225 # Remove the temporary file 226 rm -f /run/var/bootlog2> /dev/null226 rm -f $BOOTLOG 2> /dev/null 227 227 fi 228 228 -
bootscripts/lfs/init.d/udev
r008436e rcba2d4e 50 50 # Start the udev daemon to continually watch for, and act on, 51 51 # uevents 52 / sbin/udevd --daemon52 /lib/systemd-udevd --daemon 53 53 54 54 # Now traverse /sys in order to "coldplug" devices that have 55 55 # already been discovered 56 / sbin/udevadm trigger --action=add --type=subsystems57 / sbin/udevadm trigger --action=add --type=devices58 / sbin/udevadm trigger --action=change --type=devices56 /bin/udevadm trigger --action=add --type=subsystems 57 /bin/udevadm trigger --action=add --type=devices 58 /bin/udevadm trigger --action=change --type=devices 59 59 60 60 # Now wait for udevd to process the uevents we triggered 61 61 if ! is_true "$OMIT_UDEV_SETTLE"; then 62 / sbin/udevadm settle62 /bin/udevadm settle 63 63 fi 64 64 -
bootscripts/lfs/init.d/udev_retry
r008436e rcba2d4e 36 36 37 37 # As of udev-186, the --run option is no longer valid 38 #rundir=$(/ sbin/udevadm info --run)38 #rundir=$(/bin/udevadm info --run) 39 39 rundir=/run/udev 40 40 # From Debian: "copy the rules generated before / was mounted … … 53 53 while read line ; do 54 54 for subsystem in $line ; do 55 / sbin/udevadm trigger --subsystem-match=$subsystem --action=add55 /bin/udevadm trigger --subsystem-match=$subsystem --action=add 56 56 done 57 57 done … … 59 59 # Now wait for udevd to process the uevents we triggered 60 60 if ! is_true "$OMIT_UDEV_RETRY_SETTLE"; then 61 / sbin/udevadm settle61 /bin/udevadm settle 62 62 fi 63 63 -
bootscripts/lfs/lib/services/init-functions
r008436e rcba2d4e 72 72 WARNING_SUFFIX="${BRACKET}[${WARNING} WARN ${BRACKET}]${NORMAL}" 73 73 74 BOOTLOG=/run/ var/bootlog74 BOOTLOG=/run/bootlog 75 75 KILLDELAY=3 76 76
Note:
See TracChangeset
for help on using the changeset viewer.