Silence modprobe warnings

This commit is contained in:
Erik Wilson 2019-11-13 17:39:02 -07:00
parent c83ec56cbe
commit 8edbe30c8c

View File

@ -270,7 +270,7 @@ echo
SUDO= SUDO=
[ $(id -u) -ne 0 ] && SUDO=sudo [ $(id -u) -ne 0 ] && SUDO=sudo
lsmod | grep -q configs || $SUDO modprobe configs || true lsmod | grep -q configs || $SUDO modprobe configs >/dev/null 2>&1 || true
if [ -z "$CONFIG" ]; then if [ -z "$CONFIG" ]; then
for tryConfig in ${possibleConfigs}; do for tryConfig in ${possibleConfigs}; do