summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-10-19 20:35:09 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:06 +0100
commit5ffab8b3011b2e93c955158bbc1bfa8e59f0b97d (patch)
treebe645548f64fa6571c5da448eee316e7e97d8671 /scripts
parent605e7fad72bdf94f15587c7824fb4ea977c8e4a3 (diff)
downloadlive-boot-5ffab8b3011b2e93c955158bbc1bfa8e59f0b97d.tar.gz
live-boot-5ffab8b3011b2e93c955158bbc1bfa8e59f0b97d.zip
Restoring opt-in behavior for local swap partitions.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/12fstab2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab
index b2f187c..f1dc2e3 100755
--- a/scripts/live-bottom/12fstab
+++ b/scripts/live-bottom/12fstab
@@ -55,7 +55,7 @@ then
echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> "${FSTAB}"
fi
-if [ -z "${NOSWAP}" ]
+if [ -n "${SWAPON}" ]
then
devices=""