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>
Sun, 31 Jan 2010 12:53:11 +0000 (13:53 +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=""