Changeset 7254832 in bootscripts-standard for clfs/init.d/udev
- Timestamp:
- Feb 2, 2008, 9:18:23 AM (17 years ago)
- Branches:
- master
- Children:
- 47edfd4
- Parents:
- 7355219
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.