projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ec2fe3
)
Get rid of /etc/network/if-up.d/aoe-discover
author
Michael Prokop
<mika@grml.org>
Mon, 29 May 2017 17:21:43 +0000
(19:21 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 29 May 2017 17:22:44 +0000
(19:22 +0200)
Closes grml/grml#47
etc/grml/fai/config/scripts/GRMLBASE/55-aoetools
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/55-aoetools
b/etc/grml/fai/config/scripts/GRMLBASE/55-aoetools
index
fdabd22
..
eaf18e6
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/55-aoetools
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/55-aoetools
@@
-6,16
+6,15
@@
# License: This file is licensed under the GPL v2 or any later version.
################################################################################
# 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
+set -eu
+# see https://github.com/grml/grml/issues/32
echo "Removing /usr/lib/modules-load.d/aoetools.conf to avoid automatic aoe discovery"
rm -f "${target}/usr/lib/modules-load.d/aoetools.conf"
echo "Removing /usr/lib/modules-load.d/aoetools.conf to avoid automatic aoe discovery"
rm -f "${target}/usr/lib/modules-load.d/aoetools.conf"
+# see https://github.com/grml/grml/issues/47
+echo "Removing /etc/network/if-up.d/aoe-discover to avoid network startup failures"
+rm -f "${target}/etc/network/if-up.d/aoe-discover"
+
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2