X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Fudev;fp=stage1%2Fbootscripts%2Fudev;h=18baaa110b1ca74662cd7b007f51ecf89e4b665a;hb=4aa3eb3449ef580152c1a199a2bd6fc185b05a4e;hp=12527a5f6a5a33efa8986cd020ad62b53d42e004;hpb=390720a67447800ead65b5c501d9a323d3c2b6a1;p=hvlinux.git diff --git a/stage1/bootscripts/udev b/stage1/bootscripts/udev index 12527a5..18baaa1 100644 --- a/stage1/bootscripts/udev +++ b/stage1/bootscripts/udev @@ -3,7 +3,7 @@ # udev # Udev cold-plugging script -DAEMON=/sbin/udevd +DAEMON=/tools/sbin/udevd DAEMON_DESC=UDEV DAEMON_OPTS="--daemon" @@ -18,11 +18,11 @@ udev_coldplug() mkdir -p /dev/udev/queue && # Configure all devices - /sbin/udevadm trigger --action=add --type=subsystems && - /sbin/udevadm trigger --action=add --type=devices && + /tools/sbin/udevadm trigger --action=add --type=subsystems && + /tools/sbin/udevadm trigger --action=add --type=devices && # Now wait for udevd to process the uevents we triggered - /sbin/udevadm settle + /tools/sbin/udevadm settle } udev_start() @@ -42,7 +42,7 @@ case "$1" in boot_failure "FAILURE: Unable to create devices without a SysFS filesystem." fi - cmd_run_log_box "Copying static /dev entries" cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev + cmd_run_log_box "Copying static /dev entries" cp --preserve=all --recursive --remove-destination /tools/lib/udev/devices/* /dev cmd_run_log_box "Setting permissons on /dev/shm" chmod 1777 /dev/shm cmd_run_log_box_warn "${DAEMON_DESC} start" udev_start