projects
/
openwrt
/
staging
/
mans0n.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78ae7f9
)
remove an obsolete function
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 24 Oct 2006 14:15:14 +0000
(14:15 +0000)
committer
Felix 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
patch
|
blob
|
history
diff --git
a/package/base-files/default/etc/functions.sh
b/package/base-files/default/etc/functions.sh
index 9c3057ed00f1e0d8adee9edf57dd4b7394fc2187..2abb6f81c9079c9ea586901bd095b638906b1b9a 100755
(executable)
--- a/
package/base-files/default/etc/functions.sh
+++ b/
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
}