mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
do not run hotplug event for aliases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15224 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
53c1991114
commit
3c345b5c8e
@ -179,6 +179,9 @@ setup_interface_static() {
|
||||
done
|
||||
}
|
||||
|
||||
config_get type "$config" TYPE
|
||||
[ "$type" = "alias" ] && return 0
|
||||
|
||||
env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user