Unifiy local config handling
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 02-run
index 6fab557..319a276 100755 (executable)
@@ -10,7 +10,7 @@ set -u
 set -e
 
 [ -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"
 
 # This is what initscripts would do if everything would be fine.
 if [ -L "$target/run" ] ; then