Hi, > the uci ubus service (part of rpcd) provides the method 'state' which from > reading > the source code is expected to provide the current state of an option ignoring > pending changes.
No it is a method to provide access to the legacy concept of "state variables" which are epheramal uci values not backed by configuration files or pending changes. State variables used to be required to reflect network runtime state in uci but the entire concept got faded out with the introduction of netifd and runtime information via ubus. Some packages and legacy components still use state variables, so I decided to implement this facility in rpcd. There currently is no way to query option values while ignoring the changes, but that should be easy to implement. ~ Jo _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev