|
From: Heiko Z. <smi...@us...> - 2004-12-21 03:05:48
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7110/config/etc/init.d Modified Files: boot Log Message: hostname was missing (again) more changes to get udev working Index: boot =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/boot,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- boot 10 Sep 2004 23:16:01 -0000 1.25 +++ boot 21 Dec 2004 03:05:39 -0000 1.26 @@ -31,21 +31,16 @@ echo -n "Mounting base Filesystems : " $GREEN mount -n -t proc proc /proc && echo -e -n " proc " -mount -t devpts devpts /dev/pts && echo -e -n " devpts " -# Kernel dependent mounts -case `uname -r` in - 2.4.*) # Kernel 2.4.* - mount -n -t usbdevfs none /proc/bus/usb && echo -e -n " usbdevfs " - ;; - 2.6.*) # Kernel 2.6.* - mount -n -t sysfs sys /sys && echo -e -n " sysfs " - ;; -esac +mount -n -t sysfs sys /sys && echo -e -n " sysfs " $NORMAL rm -f /etc/mtab cat /proc/mounts > /etc/mtab print_status success +echo -n "Creating devices in /dev" +/sbin/udevstart +print_status success + if [ -f /proc/sys/kernel/sysrq ]; then echo -n "Enabling magic SysRq" echo "1" > /proc/sys/kernel/sysrq @@ -62,10 +57,6 @@ evaluate_retval fi -#echo -n "Running ldconfig" -#ldconfig 2>&1 >/dev/null -#evaluate_retval - if [ "$ENABLE_APM" = "yes" ]; then modprobe apm power_off=1 fi |