Get rid of /etc/network/if-up.d/aoe-discover
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 55-aoetools
1 #!/bin/bash
2 # Filename:      ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/55-aoetools
3 # Purpose:       adjust aoetools configuration
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2 or any later version.
7 ################################################################################
8
9 set -eu
10
11 # see https://github.com/grml/grml/issues/32
12 echo "Removing /usr/lib/modules-load.d/aoetools.conf to avoid automatic aoe discovery"
13 rm -f "${target}/usr/lib/modules-load.d/aoetools.conf"
14
15 # see https://github.com/grml/grml/issues/47
16 echo "Removing /etc/network/if-up.d/aoe-discover to avoid network startup failures"
17 rm -f "${target}/etc/network/if-up.d/aoe-discover"
18
19 ## END OF FILE #################################################################
20 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2