3 # LinuxFromScratch udev init script
4 # derived from original RedHat udev init script
5 # 2003, 2004 by Michael Buesch <mbuesch@freenet.de>
16 echo "Creating initial udev device nodes ..."
17 if [ ! -d $sysfs_dir ]; then
18 echo "sysfs_dir $sysfs_dir does not exist!"
22 if [ ! -d $udev_root ]; then
30 # propogate /udev from /sys - we only need this while we do not
31 # have initramfs and an early user-space with which to do early
37 echo "Stopping udev ..."
49 if [ -d $udev_dir ]; then
50 echo "the udev device node directory exists"
52 echo "the udev device node directory does not exist"
56 echo "Usage: $0 {start|stop|restart|status}"