9 lines
203 B
Text
9 lines
203 B
Text
|
#!/bin/bash
|
||
|
set -ex
|
||
|
|
||
|
MODULES_LIST=${DIB_MODPROBE_BLACKLIST:?"Please set DIB_MODPROBE_BLACKLIST."}
|
||
|
|
||
|
for mod_name in $MODULES_LIST; do
|
||
|
echo "blacklist $mod_name" >> /etc/modprobe.d/blacklist.conf
|
||
|
done
|