From dc7f3136445c3fdf6003b4b00615fbc72d950ca3 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Mon, 6 Feb 2006 01:29:16 +0000 Subject: initscripts-slugos: correct checkroot.sh to default to DOSWAP in 1.0 --- packages/initscripts/initscripts-1.0/slugos/checkroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/initscripts') 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" -- cgit v1.2.3