# HG changeset patch # User Pascal Bellard # Date 1204790069 0 # Node ID b816cb7cece45ab90f1ac412818f53367f2a2ab5 # Parent 46f1b3ef0c8b63ef25ddc6456bdc9460d6bb3c9d Fix /dev perms, see http://forum.slitaz.org/viewtopic.php?pid=376#p376 diff -r 46f1b3ef0c8b -r b816cb7cece4 etc/init.d/rcS --- a/etc/init.d/rcS Wed Mar 05 09:30:21 2008 +0000 +++ b/etc/init.d/rcS Thu Mar 06 07:54:29 2008 +0000 @@ -73,7 +73,7 @@ >> /etc/fstab status fi -chmod 0666 /dev/$DRIVE_NAME +[ -n "$DRIVE_NAME" ] && chmod 0666 /dev/$DRIVE_NAME # Handle kernel cmdline parameter modprobe= if grep -q " modprobe=" /proc/cmdline; then