slitaz-boot-scripts rev 384
init: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 18 15:48:48 2014 +0100 (2014-11-18) |
parents | 965aaa90da8e |
children | f0e04a0ba4d5 |
files | init |
line diff
1.1 --- a/init Tue Nov 18 14:24:33 2014 +0100 1.2 +++ b/init Tue Nov 18 15:48:48 2014 +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