[OpenWrt-Devel] [PATCH] uci: add import call

Rafał Miłecki zajec5 at gmail.com
Thu Aug 27 04:55:10 EDT 2015


On 26 August 2015 at 18:13, Alexander Couzens <lynxis at fe80.eu> wrote:
> similiar to import from uci cli.
> import removes all old configs and import the new config.
>
> example:
> ubus call uci import \
>   '{"config": "dhcp", "values": { "srv": { ".type": "host", ".name": "srv", "mac": "00:11:22:33:44:55", "ip": "192.168.1.2" } } }'

There is a spaces vs. tabs mess. Please stick to the coding style
already used in the project.

You didn't use tabs in most of the code and rpc_uci_import looks like
a random mix of both.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list