From: Richard Nelson Date: Wed, 2 Sep 2009 04:28:23 +0000 (+0200) Subject: Allow for multiple but unique persistent media. X-Git-Tag: debian/2.0.15-1~289 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=a4d9f9d253e372520fd12ca94803de4225b001ca;p=live-boot-grml.git Allow for multiple but unique persistent media. The patch provides a boot parameter to be used in conjunction with persistent and allow for multiple but unique persistent media such as live-sn-subText with boot parameter persistent-subtext=subText. --- diff --git a/scripts/live b/scripts/live index 2a146d7..db1d355 100755 --- a/scripts/live +++ b/scripts/live @@ -345,6 +345,13 @@ Arguments () export PERSISTENT_PATH ;; + persistent-subtext=*) + root_persistence="${root_persistence}-${ARGUMENT#persistent-subtext=}" + home_persistence="${home_persistence}-${ARGUMENT#persistent-subtext=}" + root_snapshot_label="${root_snapshot_label}-${ARGUMENT#persistent-subtext=}" + home_snapshot_label="${home_snapshot_label}-${ARGUMENT#persistent-subtext=}" + ;; + nopersistent) NOPERSISTENT="Yes" export NOPERSISTENT