baresip: Use UCI for basic service configuration 889/head
authorDaniel Danzberger <dd@embedd.com>
Mon, 18 Nov 2024 11:50:00 +0000 (12:50 +0100)
committerDaniel Danzberger <dd@embedd.com>
Mon, 6 Jan 2025 21:49:42 +0000 (22:49 +0100)
commit2676410b64d44b248acd037577de5658113b85ed
treed468ddd5803d7fa47d722dda7ee0206b84a98ede
parent2933d0084f0331fd7da1e2181ba64954a0c84199
baresip: Use UCI for basic service configuration

The baresip init script is changed to use UCI instead of the debian
style /etc/default basic service configuration.

A uci-defaults script is added to create a basic UCI config:
--
config baresip main
 option enable 0
 option options ''
--

With this change an issues is also resolved, on which the baresip
service doesn't start due to the baresip user not being the owner of
the /etc/baresip configuration directory.

Additionally a reload_config trigger is added for baresip.

Signed-off-by: Daniel Danzberger <dd@embedd.com>
net/baresip/Makefile
net/baresip/files/baresip.default [deleted file]
net/baresip/files/baresip.defaults [new file with mode: 0644]
net/baresip/files/baresip.init