9 lines
203 B
Plaintext
9 lines
203 B
Plaintext
|
#!/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
|