# 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/event.d/functions . /etc/udev/udev.conf prog=udev sysfs_dir=/sys bin=/lib/udev udevd=/sbin/udevd udev_root=/dev echo "Bringing udev system up" mount -t sysfs none /sys status_message "mount of sys..." if [ ! -d /var/lock/subsys ]; then mkdir /var/lock/subsys fi if [ ! -d $udev_root ]; then mkdir $udev_root fi status_message "Creation ov /var/lock..." mount -t tmpfs none /dev status_message "Mounting tmpfs to /dev..." export ACTION=add echo -n "Creating initial udev device nodes" /sbin/udevstart mkdir /dev/pts fi end script