Unifiy local config handling
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 36-cpufrequtils
index 81a6367..16445d8 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"
 
 if [ -r $target/usr/share/doc/cpufrequtils/examples/cpufrequtils.sample ] ; then
    if ! [ -r $target/etc/default/loadcpufreq ] ; then