From: Michael Prokop Date: Thu, 27 Sep 2012 08:39:07 +0000 (+0200) Subject: Default DCSDIR to /live/image also in noautoconfig/forensic mode X-Git-Tag: v0.9.58~1 X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=02c0126afa706977c2c7941945b24c487a13bd57;ds=sidebyside Default DCSDIR to /live/image also in noautoconfig/forensic mode Otherwise booting with "scripts=foobar.sh" doesn't do what the documentation says. --- diff --git a/autoconfig.functions b/autoconfig.functions index 97debc0..19e7459 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1570,6 +1570,7 @@ DCSMP="/mnt/grml" GRMLCFG="$(getbootparam 'autoconfig' 2>>$DEBUG)" [ -n "$GRMLCFG" ] || GRMLCFG="GRMLCFG" if checkbootparam 'noautoconfig' || checkbootparam 'forensic' ; then + DCSDIR="/live/image" # set default so it works for "scripts" boot option as expected ewarn "Skipping running automount of device(s) labeled $GRMLCFG as requested." ; eend 0 else if [ -z "$INSTALLED" ] ; then