Merge pull request #266 from martinezjavier/master

network: Only bring up wired network interfaces
master
Harald Hoyer 2017-08-10 08:49:14 +02:00 committed by GitHub
commit c2408eed7f
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ command -v fix_bootif >/dev/null || . /lib/net-lib.sh
# Default: We don't know the interface to use, handle all
# Fixme: waiting for the interface as well.
else
cond='ACTION=="add", SUBSYSTEM=="net"'
cond='ACTION=="add", SUBSYSTEM=="net", ENV{DEVTYPE}!="wlan|wwan"'
# if you change the name of "91-default-net.rules", also change modules.d/80cms/cmssetup.sh
echo "$cond, $runcmd" > /etc/udev/rules.d/91-default-net.rules
fi