From 3a1d2c6912e2b7aa7f543f372d8f1705fdf364b1 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 17 Oct 2010 09:35:22 +0200 Subject: [PATCH] buybox: fix init script Signed-off-by: Stephan Raue --- packages/sysutils/busybox/init.d/09_swapfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/init.d/09_swapfile b/packages/sysutils/busybox/init.d/09_swapfile index 4c2c0b113d..e5b711c832 100755 --- a/packages/sysutils/busybox/init.d/09_swapfile +++ b/packages/sysutils/busybox/init.d/09_swapfile @@ -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"