wok-6.x rev 4728
slitaz-loram-http: fix httpfs mount
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 06 17:11:59 2010 +0100 (2010-01-06) |
parents | cf9d33568568 |
children | a03f00dcfb37 |
files | slitaz-loram-http/receipt |
line diff
1.1 --- a/slitaz-loram-http/receipt Wed Jan 06 16:26:38 2010 +0100 1.2 +++ b/slitaz-loram-http/receipt Wed Jan 06 17:11:59 2010 +0100 1.3 @@ -78,7 +78,7 @@ 1.4 $i URLISO=http://mirror.slitaz.org/iso/\$(cat /etc/slitaz-release)/flavors/slitaz-loram-cdrom.iso,http://download.tuxfamily.org/slitaz/iso/\$(cat /etc/slitaz-release)/flavors/slitaz-loram-cdrom.iso,http://slitaz.c3sl.ufpr.br/iso/\$(cat /etc/slitaz-release)/flavors/slitaz-loram-cdrom.iso 1.5 $i grep -q " urliso=" /proc/cmdline && URLISO=\$(cat /proc/cmdline | sed 's/.* urliso=\([^ ]*\).*/\1/'),\$URLISO 1.6 $i for i in \$(echo \$URLISO | sed 's/,/ /g'); do 1.7 -$i /bin/httpfs \$URLISO /cdrom && break 1.8 +$i /bin/httpfs \$i /cdrom && break 1.9 $i done 1.10 $i mount -o loop,ro /cdrom/*.iso /cdrom 1.11 $i if [ -d /.usr.rw -a -x /bin/funionfs ]; then