remove an obsolete function

SVN-Revision: 5280
This commit is contained in:
Felix Fietkau 2006-10-24 14:15:14 +00:00
parent 78ae7f9a6b
commit 343ad07ed8

View file

@ -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
}