slitaz-boot-scripts rev 44

Fix /dev perms, see http://forum.slitaz.org/viewtopic.php?pid=376#p376
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 06 07:54:29 2008 +0000 (2008-03-06)
parents 46f1b3ef0c8b
children 1d23d97846bd
files etc/init.d/rcS
line diff
     1.1 --- a/etc/init.d/rcS	Wed Mar 05 09:30:21 2008 +0000
     1.2 +++ b/etc/init.d/rcS	Thu Mar 06 07:54:29 2008 +0000
     1.3 @@ -73,7 +73,7 @@
     1.4  		>> /etc/fstab
     1.5  	status
     1.6  fi
     1.7 -chmod 0666 /dev/$DRIVE_NAME
     1.8 +[ -n "$DRIVE_NAME" ] && chmod 0666 /dev/$DRIVE_NAME
     1.9  
    1.10  # Handle kernel cmdline parameter modprobe=<module_list> 
    1.11  if grep -q " modprobe=" /proc/cmdline; then