initscripts-slugos: correct checkroot.sh to default to DOSWAP in 1.0
authorJohn Bowler <jbowler@nslu2-linux.org>
Mon, 6 Feb 2006 01:29:16 +0000 (01:29 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 6 Feb 2006 01:29:16 +0000 (01:29 +0000)
packages/initscripts/initscripts-1.0/slugos/checkroot.sh

index 4c826b4..a26b9ff 100644 (file)
@@ -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"