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>
This commit is contained in:
Kevin Darbyshire-Bryant
2020-05-03 14:27:19 +01:00
committed by Kevin Darbyshire-Bryant
parent bc94e9f657
commit f084977ca3
3 changed files with 43 additions and 14 deletions
+5
View File
@@ -0,0 +1,5 @@
config netifyd
option enabled 1
option autoconfig 1
# option internal_if 'eth0'
# option external_if 'eth1'