X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F55-aoetools;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F55-aoetools;h=fdabd22bb52e6903b99c5a3625f03ba891e1e0d1;hp=0000000000000000000000000000000000000000;hb=fad6e2cc432ea47ba64a42b8d541f37127c2fd9a;hpb=d039e207a6fea49a966168e7d31487b86840af11 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/55-aoetools b/etc/grml/fai/config/scripts/GRMLBASE/55-aoetools new file mode 100755 index 0000000..fdabd22 --- /dev/null +++ b/etc/grml/fai/config/scripts/GRMLBASE/55-aoetools @@ -0,0 +1,21 @@ +#!/bin/bash +# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/55-aoetools +# Purpose: adjust aoetools configuration +# Authors: grml-team (grml.org), (c) Michael Prokop +# Bug-Reports: see http://grml.org/bugs/ +# License: This file is licensed under the GPL v2 or any later version. +################################################################################ + +set -u +set -e + +if ! [ -r "${target}/usr/lib/modules-load.d/aoetools.conf" ] ; then + echo "File /usr/lib/modules-load.d/aoetools.conf doesn't exist, skipping execution of script." + exit 0 +fi + +echo "Removing /usr/lib/modules-load.d/aoetools.conf to avoid automatic aoe discovery" +rm -f "${target}/usr/lib/modules-load.d/aoetools.conf" + +## END OF FILE ################################################################# +# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2