wok rev 4726
slitaz-loram-cdrom: fix status
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 06 15:47:03 2010 +0100 (2010-01-06) |
parents | d534b32673cd |
children | cf9d33568568 |
files | slitaz-loram-cdrom/receipt |
line diff
1.1 --- a/slitaz-loram-cdrom/receipt Tue Jan 05 16:19:03 2010 +0100 1.2 +++ b/slitaz-loram-cdrom/receipt Wed Jan 06 15:47:03 2010 +0100 1.3 @@ -24,7 +24,7 @@ 1.4 tag="Handle kernel cmdline parameter config" 1.5 i=$(grep -n "$tag" $1/etc/init.d/rcS | cut -d: -f1) 1.6 i=$(($i-1)) 1.7 - len=87 1.8 + len=88 1.9 tag=$(grep "$tag" $1/etc/init.d/rcS) 1.10 if [ "$2" = "-R" ]; then 1.11 line="-$(($i-$len+2)),$len +$(($i-$len+2)),2" 1.12 @@ -108,6 +108,7 @@ 1.13 $i elif [ -L /\$usr ]; then 1.14 $i FS=/cdrom\$DIR/usr 1.15 $i release_cdrom && break 1.16 +$i true 1.17 $i else 1.18 $i umount /cdrom 1.19 $i false