Restoring opt-in behavior for local swap partitions.
authorintrigeri <intrigeri@boum.org>
Mon, 19 Oct 2009 18:35:09 +0000 (20:35 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:06 +0000 (17:48 +0100)
scripts/live-bottom/12fstab

index b2f187c..f1dc2e3 100755 (executable)
@@ -55,7 +55,7 @@ then
        echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> "${FSTAB}"
 fi
 
-if [ -z "${NOSWAP}" ]
+if [ -n "${SWAPON}" ]
 then
        devices=""