[SCM] debian-live branch, master, updated. 1.139.1-1-4-g35dafe0
Daniel Baumann
daniel at debian.org
Sun Aug 31 18:42:39 UTC 2008
The following commit has been merged in the master branch:
commit 35dafe02ca09da6c79c62f7cc7e88838495bf4d4
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Aug 31 20:29:20 2008 +0200
Disabling default usage of local swap partitions. Can be enabled with the 'swapon' boot parameter. Thanks to Joseph Rawson <umeboshi3 at gmail.com> for bringing it up.
diff --git a/docs/parameters.txt b/docs/parameters.txt
index 16b5b46..e09089d 100644
--- a/docs/parameters.txt
+++ b/docs/parameters.txt
@@ -35,7 +35,7 @@ live noxautologin
live nofastboot
live nopersistent
live nosudo
-live noswap
+live swapon
live nouser
live noxautoconfig
live persistent
diff --git a/manpages/live-initramfs.en.7.txt b/manpages/live-initramfs.en.7.txt
index eb2e302..a66a85c 100644
--- a/manpages/live-initramfs.en.7.txt
+++ b/manpages/live-initramfs.en.7.txt
@@ -183,9 +183,9 @@ Do not prompt to eject the CD on reboot.
This parameter disables the automatic configuration of sudo.
- noswap::
+ swapon::
-This parameter disables usage of local swap partitions.
+This parameter enables usage of local swap partitions.
nouser::
diff --git a/scripts/live b/scripts/live
index 4ba4257..ba325a4 100755
--- a/scripts/live
+++ b/scripts/live
@@ -285,9 +285,9 @@ Arguments ()
export NOSUDO
;;
- noswap)
- NOSWAP="Yes"
- export NOSWAP
+ swapon)
+ SWAPON="Yes"
+ export SWAPON
;;
noupdatenotifier)
diff --git a/scripts/live-bottom/13swap b/scripts/live-bottom/13swap
index ecbdce1..1975bd5 100755
--- a/scripts/live-bottom/13swap
+++ b/scripts/live-bottom/13swap
@@ -20,7 +20,7 @@ esac
# live-initramfs header
-if [ -n "${NOSWAP}" ] || [ -n "${NOFSTAB}" ]
+if [ -z "${SWAPON}" ] || [ -n "${NOFSTAB}" ]
then
exit 0
fi
--
debian-live
More information about the debian-live-changes
mailing list