[issue2220] grml-full: Bug in package aoetools prevents successful ifup

Jakob Haufe bts at bts.grml.org
Sat Sep 3 23:59:40 CEST 2016


Jakob Haufe <sur5r at sur5r.net> added the comment:

The attached FAI scripts solves the symlink issue but the module does not get
loaded. Running "/etc/init.d/kmod start" manually loads it.

What's the correct way to force-load the module early on boot?

----------
files: 8322.sh
messages: 5888, 5893
nosy: sur5r
priority: bug
status: chatting
title: grml-full: Bug in package aoetools prevents successful ifup

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue2220>
_____________________________________
-------------- next part --------------
# cat /etc/grml/fai/config/scripts/GRML_FULL/02-aoetools-fix
#!/bin/bash

set -u
set -e

if [ -x $FAI_ROOT/sbin/aoe-discover ]; then
        ainsl /etc/modules aoe

        ln -sf /sbin/aoe-discover $FAI_ROOT/etc/network/if-up.d/aoe-discover
fi

root at jessie:~#


More information about the Bugs-changes mailing list