Hi.

I have a question and i dont find anything in the dokumentation of openwrt

In older version of openwrt "ucitrack" was used to watch config changes
and to restart services if something changed.
In newer version of openwrt "procd" is now used to make the same thing.

I need something diffrent

I am using the easycwmp tr069 client to get an config from am acs and to
preconfig the cpe. If someone changes the config over the Webgui (luci)
the acs should be informed that something has changed. I can do this
with easycwmp but I have to poll the config. This is not very clever.

Question:

Is there any possibility in openwrt to get an event from the uci over
ubus that a config parameter has changed to send this to the acs?

Some thing like:

1. Webgui
[ change something in the luci ]
[ press -> save/apply ]

2 . Console [ script ]
-> ubus listen &
-> get event
-> grep paramter and map this to tr069
-> grep new value
-> ubus call tr069
notify{"parameter":"Device.Network.Lan.IP","value":"1.2.3.4"}

Kind Regards Flo
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to