buybox: fix init script

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-10-17 09:35:22 +02:00
parent 4af9373863
commit 3a1d2c6912

View File

@ -29,7 +29,7 @@
INSTALLED_MEMORY=`cat /proc/meminfo | grep 'MemTotal:' | awk '{print $2}'`
if [ $INSTALLED_MEMORY -le 500000 -a -f $HOME/.config/swapon]; then
if [ $INSTALLED_MEMORY -le 500000 -a -f $HOME/.config/swapon ]; then
if [ ! -f $HOME/.cache/swapfile ]; then
progress "creating swapfile"