Here comes the new UCI. Enjoy :)
[openwrt-10.03/.git] / package / base-files / files / etc / hotplug.d / iface / 00-netstate
index 6bf621437508fe77b02103fe944c455862269cf1..f215d29b5326262df291f75368efb959ea4bda2b 100644 (file)
@@ -1,3 +1,3 @@
 [ ifup = "$ACTION" ] && {
-       uci set "/var/state/network.$INTERFACE.up=1"
+       uci_set_state network "$INTERFACE" up 1 
 }