slitaz-boot-scripts diff init @ rev 389
typo in /etc/init.d/bootopts.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 11 11:12:24 2015 +0100 (2015-01-11) |
parents | ae0038500c6d |
children | 6c2d6362887d |
line diff
1.1 --- a/init Tue Nov 18 12:59:52 2014 +0100 1.2 +++ b/init Sun Jan 11 11:12:24 2015 +0100 1.3 @@ -172,7 +172,7 @@ 1.4 sh 1.5 fi 1.6 got modprobe && mod ${root//,/ } 1.7 -[ /proc/sys/dev/cdrom ] && 1.8 +[ -d /proc/sys/dev/cdrom ] && 1.9 ln -s $(sed '/name/!d;s/.*:[^a-z]*//' /proc/sys/dev/cdrom/info) /dev/cdrom 1.10 if use dmraid 1.11 then dmraid -s|sed '/^type/!ds/.*: *//'|ldraid