remove an obsolete function
SVN-Revision: 5280
This commit is contained in:
parent
78ae7f9a6b
commit
343ad07ed8
1 changed files with 0 additions and 7 deletions
|
@ -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 a new issue