mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-30 13:26:20 +08:00
remove an obsolete function
SVN-Revision: 5280
This commit is contained in:
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
Block a user