remove an obsolete function
authorFelix Fietkau <nbd@openwrt.org>
Tue, 24 Oct 2006 14:15:14 +0000 (14:15 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 24 Oct 2006 14:15:14 +0000 (14:15 +0000)
SVN-Revision: 5280

package/base-files/default/etc/functions.sh

index 9c3057ed00f1e0d8adee9edf57dd4b7394fc2187..2abb6f81c9079c9ea586901bd095b638906b1b9a 100755 (executable)
@@ -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
 }