summaryrefslogtreecommitdiff
path: root/scripts/boot/0110-cmdline
diff options
context:
space:
mode:
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"
;;