add user.json provisioning

This commit is contained in:
Jakob Ketterl 2020-04-01 22:31:14 +02:00
parent 6c3bb0b520
commit 513b477fac
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
config_webrx.py etc/openwebrx/ config_webrx.py etc/openwebrx/
bands.json etc/openwebrx/ bands.json etc/openwebrx/
bookmarks.json etc/openwebrx/ bookmarks.json etc/openwebrx/
users.json etc/openwebrx/
systemd/openwebrx.service lib/systemd/system/ systemd/openwebrx.service lib/systemd/system/

View File

@ -12,6 +12,9 @@ fi
if [[ ! -f /etc/openwebrx/bookmarks.json ]] ; then if [[ ! -f /etc/openwebrx/bookmarks.json ]] ; then
cp bookmarks.json /etc/openwebrx/ cp bookmarks.json /etc/openwebrx/
fi fi
if [[ ! -f /etc/openwebrx/users.json ]] ; then
cp users.json /etc/openwebrx/
fi
_term() { _term() {