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
|
. /usr/share/debconf/confmodule
|
||||||
|
|
||||||
db_input high openwebrx/admin_user_password || true
|
if [ ! -e /usr/bin/openwebrx-admin ] || [ ! /usr/bin/openwebrx-admin hasuser admin ]; then
|
||||||
db_go
|
db_input high openwebrx/admin_user_password || true
|
||||||
|
db_go
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user