# rcS - runlevel compatibility # # This task runs the old sysv-rc startup scripts. start on start udev #stop on runlevel # Note: there can be no previous runlevel here, if we have one it's bad # information (we enter rc1 not rcS for maintenance). Run /etc/init.d/rc # without information so that it defaults to previous=N runlevel=S. console output script if [ -f /sbin/udevstart ]; then . /etc/init.d/functions . /etc/udev/udev.conf prog=udev szsfs_dir=/sys bin=/lib/udev udevd=/sbin/udevd udev_root=/dev echo "Bringing udev system up" echo -n "mounting sys" mount -t sysfs none /sys evaluate_retval echo -n ".../var/lock" if [ ! -d /var/lock/subsys ]; then mkdir /var/lock/subsys fi if [ ! -d $udev_root ]; then mkdir $udev_root fi evaluate_retval echo -n ".../dev " mount -t tmpfs none /dev evaluate_retval export ACTION=add echo -n "Creating initial udev device nodes" /sbin/udevstart mkdir /dev/pts fi end script