projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a85d8e
)
fix use of uci_set_state in network scripts (thx, netprince)
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Apr 2008 16:02:50 +0000
(16:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Apr 2008 16:02:50 +0000
(16:02 +0000)
SVN-Revision: 10763
package/base-files/files/lib/network/config.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/network/config.sh
b/package/base-files/files/lib/network/config.sh
index d76c4bf9623050fffc3fb710b04b229f1135cc32..7fa1d37e497aca83b9a4173c2b13063c1a6b2c49 100755
(executable)
--- a/
package/base-files/files/lib/network/config.sh
+++ b/
package/base-files/files/lib/network/config.sh
@@
-119,8
+119,8
@@
set_interface_ifname() {
local ifname="$2"
config_get device "$1" device
- uci_set_state
"network.$config.ifname=
$ifname"
- uci_set_state
"network.$config.device=
$device"
+ uci_set_state
network "$config" ifname "
$ifname"
+ uci_set_state
network "$config" device "
$device"
}
setup_interface() {