Merging casper 1.161.
[live-boot-grml.git] / 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=""