From: Krisztian VASAS Date: Wed, 18 Jun 2014 10:20:42 +0000 (+0200) Subject: Possibility to give LIVE_CONF as env. variable X-Git-Tag: v0.25.0~3 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=1ebce30e7ecfa743317e678898cc0f8854de452b;ds=sidebyside Possibility to give LIVE_CONF as env. variable --- diff --git a/grml-live b/grml-live index 8eb66c0..7f6bda0 100755 --- a/grml-live +++ b/grml-live @@ -147,7 +147,7 @@ else fi # source main configuration file: -LIVE_CONF=/etc/grml/grml-live.conf +[ -z "$LIVE_CONF" ] && LIVE_CONF='/etc/grml/grml-live.conf' if ! [ -r "$LIVE_CONF" ] ; then ewarn "Configuration file $LIVE_CONF can not be read, ignoring" else