slitaz-boot-scripts diff etc/init.d/rcS @ rev 88

may start ndiswrapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 15 23:52:23 2008 +0000 (2008-05-15)
parents 31837608fcdf
children 066907ea77fe
line diff
     1.1 --- a/etc/init.d/rcS	Fri Mar 21 12:32:40 2008 +0000
     1.2 +++ b/etc/init.d/rcS	Thu May 15 23:52:23 2008 +0000
     1.3 @@ -44,9 +44,6 @@
     1.4  	echo -n "Starting udev daemon..."
     1.5  	/sbin/udevd --daemon
     1.6  	status
     1.7 -	echo -n "Executing : udevstart..."
     1.8 -	/sbin/udevstart
     1.9 -	status
    1.10  	echo "/sbin/udevd" > /proc/sys/kernel/hotplug
    1.11  fi
    1.12  
    1.13 @@ -63,6 +60,7 @@
    1.14  if [ -n "$DRIVE_NAME" -a ! "`readlink /dev/cdrom`" ]; then
    1.15  	echo -n "Creating symlink : /dev/cdrom..."
    1.16  	ln -s /dev/$DRIVE_NAME /dev/cdrom
    1.17 +	ln -s /dev/$DRIVE_NAME /dev/dvd
    1.18  	status
    1.19  fi
    1.20  if ! grep -q "/dev/cdrom" /etc/fstab; then
    1.21 @@ -76,6 +74,7 @@
    1.22  if [ -n "$DRIVE_NAME" -a "`readlink /dev/cdrom`" ]; then
    1.23  	echo -n "Chmoding cdrom device..."
    1.24  	chmod 0666 /dev/cdrom
    1.25 +	chmod 0666 /dev/dvd
    1.26  	chmod 0666 /dev/$DRIVE_NAME
    1.27  	status
    1.28  fi