wok-stable diff slitaz-loram-http/receipt @ rev 4080

Up: coreutils (7.6)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 15 17:01:42 2009 +0200 (2009-09-15)
parents d37cb8649ac6
children 6509db5aa948
line diff
     1.1 --- a/slitaz-loram-http/receipt	Thu Jan 01 07:31:15 2009 +0000
     1.2 +++ b/slitaz-loram-http/receipt	Tue Sep 15 17:01:42 2009 +0200
     1.3 @@ -40,8 +40,8 @@
     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=\$(free | awk '{ n = \$NF } END { print n }')	
     1.8 -$i	if [ \$FREEMEM -gt \$(du -s \$FS | awk '{ print \$1+40000 }') ]; then
     1.9 +$i	FREEMEM=\$(busybox free | busybox awk '{ n = \$NF } END { print n }')	
    1.10 +$i	if [ \$FREEMEM -gt \$(busybox du -s \$FS | busybox awk '{ print \$1+40000 }') ]; then
    1.11  $i		status
    1.12  $i		echo -n "Loading /usr in memory..."
    1.13  $i		cp -a \$FS /.usr.fs