add user.json provisioning
This commit is contained in:
parent
6c3bb0b520
commit
513b477fac
1
debian/openwebrx.install
vendored
1
debian/openwebrx.install
vendored
@ -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/
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user