From 02c0126afa706977c2c7941945b24c487a13bd57 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 27 Sep 2012 10:39:07 +0200 Subject: [PATCH 1/1] Default DCSDIR to /live/image also in noautoconfig/forensic mode Otherwise booting with "scripts=foobar.sh" doesn't do what the documentation says. --- autoconfig.functions | 1 + 1 file changed, 1 insertion(+) 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 -- 2.1.4