modprobe DIB_MODPROBE_BLACKLIST should be optional
modprobe element currently fails when DIB_MODPROBE_BLACKLIST is not set. As there are now two methods to control blacklisting this should be optional. Change-Id: Ibf3c31a95177ba88c1b93228490c7f36f5b70b57
This commit is contained in:
parent
48645abff6
commit
73e27a8504
@ -6,7 +6,7 @@ fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
MODULES_LIST=${DIB_MODPROBE_BLACKLIST:?"Please set DIB_MODPROBE_BLACKLIST."}
|
||||
MODULES_LIST=${DIB_MODPROBE_BLACKLIST:-""}
|
||||
|
||||
for mod_name in $MODULES_LIST; do
|
||||
echo "blacklist $mod_name" >> /etc/modprobe.d/blacklist.conf
|
||||
|
Loading…
Reference in New Issue
Block a user