From ea1d815ce23382da55f4f059171d84092f08a4a3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 2 Jul 2012 18:19:59 +0200 Subject: Adding support for defining one or more explicit swap partitions to be used. --- scripts/boot/0110-cmdline | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/boot/0110-cmdline') 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" ;; -- cgit v1.2.3