diff options
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/Makefile | 3 | ||||
-rw-r--r-- | bootscripts/lfs/init.d/udev | 10 | ||||
-rw-r--r-- | bootscripts/lfs/init.d/udev_retry | 6 |
3 files changed, 9 insertions, 10 deletions
diff --git a/bootscripts/Makefile b/bootscripts/Makefile index 63ae8150e..275761c63 100644 --- a/bootscripts/Makefile +++ b/bootscripts/Makefile @@ -28,8 +28,7 @@ create-dirs: install -d -m ${DIRMODE} ${MAN8} install -d -m ${DIRMODE} ${SBIN} ln -sfn services ${LIBDIR}/lsb - ln -sfn rc.d/init.d ${ETCDIR}/init.d-sysv - ln -sfn init.d-sysv ${ETCDIR}/init.d + ln -sfn rc.d/init.d ${ETCDIR}/init.d files: create-dirs install -m ${MODE} lfs/init.d/checkfs ${ETCDIR}/rc.d/init.d/ diff --git a/bootscripts/lfs/init.d/udev b/bootscripts/lfs/init.d/udev index c7257805c..ab56ab9e3 100644 --- a/bootscripts/lfs/init.d/udev +++ b/bootscripts/lfs/init.d/udev @@ -49,17 +49,17 @@ case "${1}" in # Start the udev daemon to continually watch for, and act on, # uevents - /lib/systemd/systemd-udevd --daemon + /sbin/udevd --daemon # Now traverse /sys in order to "coldplug" devices that have # already been discovered - /bin/udevadm trigger --action=add --type=subsystems - /bin/udevadm trigger --action=add --type=devices - /bin/udevadm trigger --action=change --type=devices + /sbin/udevadm trigger --action=add --type=subsystems + /sbin/udevadm trigger --action=add --type=devices + /sbin/udevadm trigger --action=change --type=devices # Now wait for udevd to process the uevents we triggered if ! is_true "$OMIT_UDEV_SETTLE"; then - /bin/udevadm settle + /sbin/udevadm settle fi # If any LVM based partitions are on the system, ensure they diff --git a/bootscripts/lfs/init.d/udev_retry b/bootscripts/lfs/init.d/udev_retry index 5db644a8b..c921fc451 100644 --- a/bootscripts/lfs/init.d/udev_retry +++ b/bootscripts/lfs/init.d/udev_retry @@ -35,7 +35,7 @@ case "${1}" in log_info_msg "Retrying failed uevents, if any..." # As of udev-186, the --run option is no longer valid - #rundir=$(/bin/udevadm info --run) + #rundir=$(/sbin/udevadm info --run) rundir=/run/udev # From Debian: "copy the rules generated before / was mounted # read-write": @@ -52,13 +52,13 @@ case "${1}" in /bin/sed -e 's/#.*$//' /etc/sysconfig/udev_retry | /bin/grep -v '^$' | \ while read line ; do for subsystem in $line ; do - /bin/udevadm trigger --subsystem-match=$subsystem --action=add + /sbin/udevadm trigger --subsystem-match=$subsystem --action=add done done # Now wait for udevd to process the uevents we triggered if ! is_true "$OMIT_UDEV_RETRY_SETTLE"; then - /bin/udevadm settle + /sbin/udevadm settle fi evaluate_retval |