projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Here comes the new UCI. Enjoy :)
[openwrt/staging/yousong.git]
/
package
/
base-files
/
files
/
etc
/
hotplug.d
/
iface
/
00-netstate
diff --git
a/package/base-files/files/etc/hotplug.d/iface/00-netstate
b/package/base-files/files/etc/hotplug.d/iface/00-netstate
index 6bf621437508fe77b02103fe944c455862269cf1..f215d29b5326262df291f75368efb959ea4bda2b 100644
(file)
--- a/
package/base-files/files/etc/hotplug.d/iface/00-netstate
+++ b/
package/base-files/files/etc/hotplug.d/iface/00-netstate
@@
-1,3
+1,3
@@
[ ifup = "$ACTION" ] && {
- uci
set "/var/state/network.$INTERFACE.up=1"
+ uci
_set_state network "$INTERFACE" up 1
}