diff --git a/modules.d/95qeth_rules/module-setup.sh b/modules.d/95qeth_rules/module-setup.sh index 914a28ce8..884ae072e 100755 --- a/modules.d/95qeth_rules/module-setup.sh +++ b/modules.d/95qeth_rules/module-setup.sh @@ -10,6 +10,7 @@ check() { [[ $hostonly ]] && { for i in /sys/devices/qeth/*/online; do + [ ! -f "$i" ] && continue read -r _online < "$i" [ "$_online" -eq 1 ] && return 0 done