# HG changeset patch # User Pascal Bellard # Date 1262789223 -3600 # Node ID 7ae478e2ad1e12bd86e64bd8136dc25901add99a # Parent d534b32673cd54b192ea4f804f7c0b62b16d7e9f slitaz-loram-cdrom: fix status diff -r d534b32673cd -r 7ae478e2ad1e slitaz-loram-cdrom/receipt --- a/slitaz-loram-cdrom/receipt Tue Jan 05 16:19:03 2010 +0100 +++ b/slitaz-loram-cdrom/receipt Wed Jan 06 15:47:03 2010 +0100 @@ -24,7 +24,7 @@ tag="Handle kernel cmdline parameter config" i=$(grep -n "$tag" $1/etc/init.d/rcS | cut -d: -f1) i=$(($i-1)) - len=87 + len=88 tag=$(grep "$tag" $1/etc/init.d/rcS) if [ "$2" = "-R" ]; then line="-$(($i-$len+2)),$len +$(($i-$len+2)),2" @@ -108,6 +108,7 @@ $i elif [ -L /\$usr ]; then $i FS=/cdrom\$DIR/usr $i release_cdrom && break +$i true $i else $i umount /cdrom $i false