mount -t devpts devpts -o gid=5,mode=620 /dev/pts
fi
- # Udev handles uevents itself, so we don't need to have
- # the kernel call out to any binary in response to them
- echo > /proc/sys/kernel/hotplug
-
- # Copy static device nodes to /dev
- cp -a /lib/udev/devices/* /dev
-
# Start the udev daemon to continually watch for, and act on,
# uevents
- /sbin/udevd --daemon
+ boot_mesg "Starting udev daemon..."
+ loadproc udevd --daemon
# Now traverse /sys in order to "coldplug" devices that have
# already been discovered
;;
+ restart)
+ boot_mesg "Stopping udev daemon..."
+ killproc udevd
+
+ exec $0 start
+ ;;
+
*)
echo "Usage ${0} {start}"
exit 1