mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-01-10 10:40:02 +01:00
test for existence of admin user before asking questions
This commit is contained in:
parent
c09f17579c
commit
5e37b75cfb
6
debian/openwebrx.config
vendored
6
debian/openwebrx.config
vendored
|
|
@ -2,5 +2,7 @@
|
|||
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
db_input high openwebrx/admin_user_password || true
|
||||
db_go
|
||||
if [ ! -e /usr/bin/openwebrx-admin ] || [ ! /usr/bin/openwebrx-admin hasuser admin ]; then
|
||||
db_input high openwebrx/admin_user_password || true
|
||||
db_go
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue