summaryrefslogtreecommitdiff
path: root/scripts/boot/0110-cmdline
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-02 18:19:59 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-19 00:04:12 +0200
commitea1d815ce23382da55f4f059171d84092f08a4a3 (patch)
tree6c04cb61d3184e83a75f7579ee9c946377a364d6 /scripts/boot/0110-cmdline
parentd5e86414b0f52bb9d39ab2e9c12d98fe7a0e7f33 (diff)
downloadlive-boot-ea1d815ce23382da55f4f059171d84092f08a4a3.tar.gz
live-boot-ea1d815ce23382da55f4f059171d84092f08a4a3.zip
Adding support for defining one or more explicit swap partitions to be used.
Diffstat (limited to 'scripts/boot/0110-cmdline')
-rwxr-xr-xscripts/boot/0110-cmdline5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/boot/0110-cmdline b/scripts/boot/0110-cmdline
index d80c54f..aa12286 100755
--- a/scripts/boot/0110-cmdline
+++ b/scripts/boot/0110-cmdline
@@ -11,6 +11,11 @@ Cmdline ()
LIVE_READ_ONLY="true"
;;
+ live-boot.swapon=*|swapon=*)
+ LIVE_SWAPON="true"
+ LIVE_SWAPON_DEVICES="${_PARAMETER#*swapon=}"
+ ;;
+
live-boot.swapon|swapon)
LIVE_SWAPON="true"
;;