16be6d7ce0
As with the previous similar changes, this is intended to catch problems as they happen instead of ignoring them and continuing on to potentially fail later. Setting this on all existing scripts will allow us to enforce use via Jenkins. Change-Id: Iad2d490c86dceab148ea9ab08f457c49a5d5352e
9 lines
220 B
Bash
Executable file
9 lines
220 B
Bash
Executable file
#!/bin/bash
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
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
|