diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2006-02-06 01:29:16 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-02-06 01:29:16 +0000 |
commit | dc7f3136445c3fdf6003b4b00615fbc72d950ca3 (patch) | |
tree | 84d251d815ca1049bd37029417192ad97a92be7b /packages/initscripts/initscripts-1.0/slugos/checkroot.sh | |
parent | 983378a2d3f3042997cbfb85683b238760bd9896 (diff) |
initscripts-slugos: correct checkroot.sh to default to DOSWAP in 1.0
Diffstat (limited to 'packages/initscripts/initscripts-1.0/slugos/checkroot.sh')
-rw-r--r-- | packages/initscripts/initscripts-1.0/slugos/checkroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |