From 513b477face13d26ee9722a20e23fe46a8758402 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Wed, 1 Apr 2020 22:31:14 +0200 Subject: [PATCH] add user.json provisioning --- debian/openwebrx.install | 1 + docker/scripts/run.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/debian/openwebrx.install b/debian/openwebrx.install index caa2fff..84b1f9c 100644 --- a/debian/openwebrx.install +++ b/debian/openwebrx.install @@ -1,4 +1,5 @@ config_webrx.py etc/openwebrx/ bands.json etc/openwebrx/ bookmarks.json etc/openwebrx/ +users.json etc/openwebrx/ systemd/openwebrx.service lib/systemd/system/ \ No newline at end of file diff --git a/docker/scripts/run.sh b/docker/scripts/run.sh index 5ae7d82..0f8bd32 100755 --- a/docker/scripts/run.sh +++ b/docker/scripts/run.sh @@ -12,6 +12,9 @@ fi if [[ ! -f /etc/openwebrx/bookmarks.json ]] ; then cp bookmarks.json /etc/openwebrx/ fi +if [[ ! -f /etc/openwebrx/users.json ]] ; then + cp users.json /etc/openwebrx/ +fi _term() {