Unifiy local config handling
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 96-apt-listbugs
index 8049d7e..8a4bc3f 100755 (executable)
@@ -20,7 +20,7 @@ if ifclass RELEASE ; then
 set -u
   HOSTNAME=''
   [ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
-  [ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local
+  [ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG"
   [ -n "$HOSTNAME" ] || HOSTNAME=grml
 
   if [ -x $target/usr/sbin/apt-listbugs -a -x $target/usr/bin/apt-show-source ] && \