Changeset 642e2e9 for bootscripts/lfs
- Timestamp:
- 11/28/2011 08:13:36 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:
- d53a9b7
- Parents:
- 17698aa
- Location:
- bootscripts/lfs
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/mountfs
r17698aa r642e2e9 62 62 # Don't unmount tmpfs like /run 63 63 log_info_msg "Unmounting all other currently mounted file systems..." 64 umount -a -d -r -t notmpfs >/dev/null64 umount -a -d -r -t notmpfs,nosysfs >/dev/null 65 65 evaluate_retval 66 66 exit 0 -
bootscripts/lfs/init.d/mountvirtfs
r17698aa r642e2e9 37 37 mkdir -p /run/{var,lock,shm} 38 38 39 log_info_msg "Mounting virtual file systems: 39 log_info_msg "Mounting virtual file systems: ${INFO}/run" 40 40 41 41 if ! mountpoint /proc >/dev/null; then -
bootscripts/lfs/init.d/rc
r17698aa r642e2e9 112 112 if [ "$runlevel" == "S" ]; then dmesg -n "${LOGLEVEL:-7}"; fi 113 113 114 if [ "${IPROMPT}" == "yes" ]; then114 if [ "${IPROMPT}" == "yes" -a "${runlevel}" == "S" ]; then 115 115 # dcol and icol are spaces before the message to center the 116 116 # message on screen. -
bootscripts/lfs/init.d/setclock
r17698aa r642e2e9 45 45 case ${1} in 46 46 start) 47 log_info_msg2 "\n" # Run by udev, make sure start on new line48 log_info_msg "Setting system clock..."49 47 hwclock --hctosys ${CLOCKPARAMS} >/dev/null 50 evaluate_retval51 48 ;; 52 49 -
bootscripts/lfs/init.d/udev
r17698aa r642e2e9 85 85 # Now wait for udevd to process the uevents we triggered 86 86 /sbin/udevadm settle 87 #log_success_msg287 log_success_msg2 88 88 ;; 89 89 -
bootscripts/lfs/init.d/udev_retry
r17698aa r642e2e9 57 57 # Now wait for udevd to process the uevents we triggered 58 58 /sbin/udevadm settle 59 #evaluate_retval59 evaluate_retval 60 60 ;; 61 61 -
bootscripts/lfs/lib/services/init-functions
r17698aa r642e2e9 62 62 BRACKET="\\033[1;34m" # Brackets are blue 63 63 64 # Distro Information 65 DISTRO="Linux From Scratch" # The distro name as displayed 66 DISTRO_CONTACT="lfs-dev@linuxfromscratch.org" # Bug report address 67 DISTRO_MINI="LFS" # Short name used in filenames for distro config 68 64 69 # Use a colored prefix 65 70 BMPREFIX=" " -
bootscripts/lfs/sbin/ifup
r17698aa r642e2e9 56 56 . /lib/lsb/init-functions 57 57 58 log_info_msg "Bringing up the ${1} interface ..."58 log_info_msg "Bringing up the ${1} interface: " 59 59 60 60 if [ ! -r "${file}" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.