Browse Source

remove an obsolete function

SVN-Revision: 5280
Felix Fietkau 19 years ago
parent
commit
343ad07ed8
1 changed files with 0 additions and 7 deletions
  1. 0 7
      package/base-files/default/etc/functions.sh

+ 0 - 7
package/base-files/default/etc/functions.sh

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