mirror of https://github.com/hak5/openwrt-owl.git
parent
78ae7f9a6b
commit
343ad07ed8
|
@ -10,13 +10,6 @@ N="
|
|||
|
||||
_C=0
|
||||
|
||||
# valid interface?
|
||||
if_valid () (
|
||||
ifconfig "$1" >&- 2>&- ||
|
||||
[ "${1%%[0-9]}" = "br" ] ||
|
||||
{ debug "# missing interface '$1' ignored"; false; }
|
||||
)
|
||||
|
||||
hotplug_dev() {
|
||||
env -i ACTION=$1 INTERFACE=$2 /sbin/hotplug net
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue