wok-6.x diff slitaz-loram-http/receipt @ rev 4454

loram*: /etc/init.d/rcS needs find & xargs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 08 12:55:54 2009 +0100 (2009-11-08)
parents b78e1aa035a3
children fd85055f79db
line diff
     1.1 --- a/slitaz-loram-http/receipt	Sun Oct 18 14:07:57 2009 +0200
     1.2 +++ b/slitaz-loram-http/receipt	Sun Nov 08 12:55:54 2009 +0100
     1.3 @@ -42,12 +42,12 @@
     1.4  $i# Try to release http link (from slitaz-loram-http package)
     1.5  $i release_http()
     1.6  $i {
     1.7 -$i	FREEMEM=\$(busybox free | busybox awk '{ n = \$NF } END { print n }')	
     1.8 -$i	if [ \$FREEMEM -gt \$(busybox du -s \$FS | busybox awk '{ print \$1+40000 }') ]; then
     1.9 +$i	FREEMEM=\$(free | awk '{ n = \$NF } END { print n }')	
    1.10 +$i	if [ \$FREEMEM -gt \$(du -s \$FS | awk '{ print \$1+40000 }') ]; then
    1.11  $i		status
    1.12  $i		if grep -q " extract-loram" /proc/cmdline &&
    1.13 -$i		    [ -d \$FS -o \$FREEMEM -gt \$(busybox du -s \$FS | \\
    1.14 -$i			busybox awk '{ print (\$1*4)+40000 }') ]; then
    1.15 +$i		    [ -d \$FS -o \$FREEMEM -gt \$(du -s \$FS | \\
    1.16 +$i			awk '{ print (\$1*4)+40000 }') ]; then
    1.17  $i			echo -n "Extracting loram..."
    1.18  $i			. /etc/tazlito/loram.extract /cdrom
    1.19  $i			if status; then