X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=patches%2Ffai_dirupdate_2.diff;fp=patches%2Ffai_dirupdate_2.diff;h=14cab1a575c1f5c30249cf92a067b97b35a6b9b5;hp=0000000000000000000000000000000000000000;hb=0f72adacbce0a22376ccc889598f29d8dd2966d9;hpb=976c75fd6aa78b13ac0630d6401c9339391b59bb diff --git a/patches/fai_dirupdate_2.diff b/patches/fai_dirupdate_2.diff new file mode 100644 index 0000000..14cab1a --- /dev/null +++ b/patches/fai_dirupdate_2.diff @@ -0,0 +1,14 @@ +--- /usr/lib/fai/get-config-dir.orig 2007-09-21 10:13:24.000000000 +0200 ++++ /usr/lib/fai/get-config-dir 2007-09-21 10:14:11.000000000 +0200 +@@ -9,6 +9,11 @@ + # Short-Description: get $FAI directory from $FAI_CONFIG_SRC + ### END SUBROUTINE INFO + ++if [ -n "FAI_NO_CONFIG_SRC" ] ; then ++ echo "Notice: skipping get-dir-config as requested" ++ exit 0 ++fi ++ + if [ -z "$FAI_CONFIG_SRC" ]; then + sendmon "TASKERROR get_fai_dir 21" + echo "Error: Provide the URL to obtain the fai config storage in \$FAI_CONFIG_SRC"