Browse Source

Merge pull request #266 from martinezjavier/master

network: Only bring up wired network interfaces
master
Harald Hoyer 8 years ago committed by GitHub
parent
commit
c2408eed7f
  1. 2
      modules.d/40network/net-genrules.sh

2
modules.d/40network/net-genrules.sh

@ -102,7 +102,7 @@ command -v fix_bootif >/dev/null || . /lib/net-lib.sh @@ -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

Loading…
Cancel
Save