netifyd: support uci parameters
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sun, 3 May 2020 13:27:19 +0000 (14:27 +0100)
committerKevin Darbyshire-Bryant <6500011+ldir-EDB0@users.noreply.github.com>
Tue, 12 May 2020 06:23:16 +0000 (07:23 +0100)
commitf084977ca3f58d84394f2af4987c360a00b34e8e
tree516f5f0e2783f054b406a7a3eae47795e6e79d3e
parentbc94e9f6575c2cd28856199fb3574eb1ffb93cfb
netifyd: support uci parameters

Integrate with uci to support 'enabled/disabled' startup option and
override netify's default auto network selection.

config netifyd
       option enabled 0
       option autoconfig 1

autoconfig: Use netify's in-built interface selection
else use 'internal/external_if' definitions.

Also persist important agent config across sysupgrade
agent.uuid, serial.uuid, site.uuid

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
net/netifyd/Makefile
net/netifyd/files/netifyd.config [new file with mode: 0644]
net/netifyd/files/netifyd.init