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

2015-09-14 Thread John Crispin
Hi, SoB is missing and On 02/09/2015 02:14, Alexander Couzens 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":

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

2015-09-01 Thread Alexander Couzens
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" } } }' --- uci.c | 152 ++

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

2015-08-27 Thread Rafał Miłecki
On 26 August 2015 at 18:13, Alexander Couzens 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

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

2015-08-26 Thread Alexander Couzens
Sorry I forgot an rpcd prefix in the subject. This is a patch for rpcd. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

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

2015-08-26 Thread Alexander Couzens
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" } } }' --- uci.c | 152 ++