summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-05-05 15:56:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-05-05 15:56:58 +0000
commitf9591d229a2bd0799140207bb47b5eda68fc1437 (patch)
tree41a0c6b07eb5bbd84afd93ed967f8e63aa446b6f
parente796062a4b7e187d18c7655af50adb24720ce5f7 (diff)
downloadmtk-20170518-f9591d229a2bd0799140207bb47b5eda68fc1437.zip
mtk-20170518-f9591d229a2bd0799140207bb47b5eda68fc1437.tar.gz
mtk-20170518-f9591d229a2bd0799140207bb47b5eda68fc1437.tar.bz2
base-files: do not bring up wlan interfaces from hotplug events, so that wrong network/wireless configs are more noticeable
SVN-Revision: 21379
-rw-r--r--package/base-files/files/etc/hotplug.d/net/10-net2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug.d/net/10-net b/package/base-files/files/etc/hotplug.d/net/10-net
index f46dcd0..ef59004 100644
--- a/package/base-files/files/etc/hotplug.d/net/10-net
+++ b/package/base-files/files/etc/hotplug.d/net/10-net
@@ -12,6 +12,8 @@ addif() {
# PPP devices are configured by pppd, no need to run setup_interface here
case "$INTERFACE" in
ppp*) return 0;;
+ ath*) return 0;;
+ wlan*) return 0;;
esac
scan_interfaces