Don't source grml-live.{conf,local} in scripts if not required
authorChristian Hofstaedtler <ch@grml.org>
Sun, 11 Dec 2011 18:04:12 +0000 (19:04 +0100)
committerChristian Hofstaedtler <ch@grml.org>
Sun, 11 Dec 2011 18:10:54 +0000 (19:10 +0100)
etc/grml/fai/config/scripts/GRMLBASE/01-packages
etc/grml/fai/config/scripts/GRMLBASE/02-run
etc/grml/fai/config/scripts/GRMLBASE/03-get-sources
etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils
etc/grml/fai/config/scripts/GRMLBASE/37-portmap
etc/grml/fai/config/scripts/GRMLBASE/38-udev
etc/grml/fai/config/scripts/GRMLBASE/39-modprobe

index 5ad6aa9..467586c 100755 (executable)
@@ -9,10 +9,6 @@
 set -u
 set -e
 
-[ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
-[ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG"
-
-
 PACKAGE_LIST=/var/log/install_packages.list
 
 if ! [ -r "$target/${PACKAGE_LIST}" ] ; then
index 319a276..b133a62 100755 (executable)
@@ -9,9 +9,6 @@
 set -u
 set -e
 
-[ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
-[ -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
    rm -f "$target/run"
index fc7afb4..4e20182 100755 (executable)
@@ -6,9 +6,6 @@
 # License:       This file is licensed under the GPL v2 or any later version.
 ################################################################################
 
-[ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
-[ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG"
-
 if ifclass SOURCES ; then
   echo "Class SOURCES set, retrieving source packages."
 else
index 16445d8..d496684 100755 (executable)
@@ -9,9 +9,6 @@
 set -u
 set -e
 
-[ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
-[ -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
       cat $target/usr/share/doc/cpufrequtils/examples/cpufrequtils.sample > $target/etc/default/loadcpufreq
index fa84e56..d7a426c 100755 (executable)
@@ -9,9 +9,6 @@
 set -u
 set -e
 
-[ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
-[ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG"
-
 # Work around a bug in the portmap package, see
 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317358
 
index 33b677b..d5c89d1 100755 (executable)
@@ -9,9 +9,6 @@
 set -u
 set -e
 
-[ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
-[ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG"
-
 CONFFILE="$target/etc/udev/rules.d/70-persistent-net.rules"
 STRING='This file was automatically generated by the /lib/udev/write_net_rules'
 
index 86f6723..22f1a25 100755 (executable)
@@ -9,9 +9,6 @@
 set -u
 set -e
 
-[ -r /etc/grml/grml-live.conf ]  && . /etc/grml/grml-live.conf
-[ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG"
-
 # Make sure all modprobe configuration files use .conf as filename suffix.
 # See http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=module-init-tools;dist=unstable
 # and http://blog.bofh.it/debian/id_236