Return the requested uci value(s), all arguments are optional.
When called without argument or with empty object: return an array of package names in the packages field
When called with package set: return an object containing all sections containing all options in a field named after the package
When called with package and type set: return an object containing all sections of type type containing all options in a field named after the package
When called with package and sname set: return an object containing all options of the section in a field named after the section
When called with package and type and oname set: return an object containing the value of each option named oname within a section of type type in a field named after the matched section
When called with package and sname and oname set: return the result string in a field named oname in case of options or an array of result strings in a field named oname in case of list options
Delete the given value(s) or section(s), the option and type arguments are optional.
When called with package and type set: delete all sections of type type in package
When called with package and sname set: delete the section named sname in package
When called with package, type and oname set: delete the option named oname within each section of type type in package
When called with package, sname and oname set: delete the option named oname in section sname of package
The call does not result in any data, instead it returns the following status codes:
If no section of type type was found: UBUS_STATUS_NOT_FOUND else: UBUS_STATUS_OK
If no section named sname was found: UBUS_STATUS_NOT_FOUND else: UBUS_STATUS_OK
If no options named oname within sections of type type where found: UBUS_STATUS_NOT_FOUND else: UBUS_STATUS_OK
If the option named oname within named section sname was not found: UBUS_STATUS_NOT_FOUND else: UBUS_STATUS_OK
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies