From: John Bowler Date: Mon, 6 Feb 2006 01:29:16 +0000 (+0000) Subject: initscripts-slugos: correct checkroot.sh to default to DOSWAP in 1.0 X-Git-Tag: Release-2010-05/1~9453^2~2424^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc7f3136445c3fdf6003b4b00615fbc72d950ca3;p=openembedded.git initscripts-slugos: correct checkroot.sh to default to DOSWAP in 1.0 --- diff --git a/packages/initscripts/initscripts-1.0/slugos/checkroot.sh b/packages/initscripts/initscripts-1.0/slugos/checkroot.sh index 4c826b49fa..a26b9ffa37 100644 --- a/packages/initscripts/initscripts-1.0/slugos/checkroot.sh +++ b/packages/initscripts/initscripts-1.0/slugos/checkroot.sh @@ -62,7 +62,7 @@ exec 0>&9 9>&- # We don't test whether we're running a 2.[0123].x kernel and md # since that's plain too old. -if test "$DOSWAP" = yes +if test "$DOSWAP" != no then swaps="$(blkid -t TYPE=swap -o device 2>/dev/null)" if test -n "$swaps"