test for existence of admin user before asking questions
This commit is contained in:
parent
c09f17579c
commit
5e37b75cfb
2
debian/openwebrx.config
vendored
2
debian/openwebrx.config
vendored
@ -2,5 +2,7 @@
|
|||||||
|
|
||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
|
|
||||||
|
if [ ! -e /usr/bin/openwebrx-admin ] || [ ! /usr/bin/openwebrx-admin hasuser admin ]; then
|
||||||
db_input high openwebrx/admin_user_password || true
|
db_input high openwebrx/admin_user_password || true
|
||||||
db_go
|
db_go
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user