Changeset 7254832 in bootscripts-standard
- Timestamp:
- Feb 2, 2008, 9:18:23 AM (17 years ago)
- Branches:
- master
- Children:
- 47edfd4
- Parents:
- 7355219
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r7355219 r7254832 76 76 install -m ${MODE} clfs/init.d/template ${EXTDIR}/rc.d/init.d/ 77 77 install -m ${MODE} clfs/init.d/udev ${EXTDIR}/rc.d/init.d/ 78 sed -i "s:@LIBDIR@:$(LIBDIR):g" ${EXTDIR}/rc.d/init.d/udev 78 79 ln -sf ../init.d/network ${EXTDIR}/rc.d/rc0.d/K80network 79 80 ln -sf ../init.d/sysklogd ${EXTDIR}/rc.d/rc0.d/K90sysklogd … … 141 142 install -m ${MODE} clfs/init.d/swap ${EXTDIR}/rc.d/init.d/ 142 143 install -m ${MODE} clfs/init.d/udev ${EXTDIR}/rc.d/init.d/ 144 sed -i "s:@LIBDIR@:$(LIBDIR):g" ${EXTDIR}/rc.d/init.d/udev 143 145 ln -sf ../init.d/sendsignals ${EXTDIR}/rc.d/rc0.d/S60sendsignals 144 146 ln -sf ../init.d/mountfs ${EXTDIR}/rc.d/rc0.d/S70mountfs -
clfs/init.d/udev
r7355219 r7254832 20 20 . ${rc_functions} 21 21 22 if [ -d "/lib64" ]; then23 udev_libdir=/lib6424 else25 udev_libdir=/lib26 fi27 28 22 case "$1" in 29 23 start) … … 33 27 34 28 boot_mesg "Copying static entries..." 35 cp --preserve=all --recursive --remove-destination ${udev_libdir}/udev/devices/* /dev29 cp --preserve=all --recursive --remove-destination @LIBDIR@/udev/devices/* /dev 36 30 evaluate_retval 37 31 … … 54 48 55 49 # configure all devices 56 /sbin/udev trigger50 /sbin/udevadm trigger 57 51 58 52 # this replaces the old loop, exits after all devices are done 59 /sbin/udev settle53 /sbin/udevadm settle 60 54 61 55 echo_ok … … 81 75 boot_mesg "Reloading udev rules..." 82 76 udevcontrol reload_rules 83 cp --preserve=all --recursive --update ${udev_libdir}/udev/devices/* /dev77 cp --preserve=all --recursive --update @LIBDIR@/udev/devices/* /dev 84 78 evaluate_retval 85 79 ;; … … 89 83 udevcontrol reload_rules 90 84 rm -rf /dev/.udev /dev/disk 91 cp --preserve=all --recursive --update ${udev_libdir}/udev/devices/* /dev92 /sbin/udev trigger93 /sbin/udev settle85 cp --preserve=all --recursive --update @LIBDIR@/udev/devices/* /dev 86 /sbin/udevadm trigger 87 /sbin/udevadm settle 94 88 evaluate_retval 95 89 ;; … … 100 94 ;; 101 95 esac 102 103 unset udev_libdir
Note:
See TracChangeset
for help on using the changeset viewer.