add the necessary template
This commit is contained in:
parent
b7e38960c0
commit
d04cf5f5a1
2
debian/openwebrx.config
vendored
2
debian/openwebrx.config
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
|
|
||||||
db_get openwebrx/admin_user_configured || true
|
db_get openwebrx/admin_user_configured
|
||||||
if [ "${RET}" != true ]; then
|
if [ "${RET}" != true ]; then
|
||||||
db_input high openwebrx/admin_user_password || true
|
db_input high openwebrx/admin_user_password || true
|
||||||
db_go
|
db_go
|
||||||
|
9
debian/openwebrx.templates
vendored
9
debian/openwebrx.templates
vendored
@ -13,4 +13,11 @@ Description: OpenWebRX "admin" user password:
|
|||||||
.
|
.
|
||||||
You can also use the "openwebrx admin" command to create, delete or manage
|
You can also use the "openwebrx admin" command to create, delete or manage
|
||||||
existing users. More information is available in by running the command
|
existing users. More information is available in by running the command
|
||||||
"openwebrx admin --help".
|
"openwebrx admin --help".
|
||||||
|
|
||||||
|
Template: openwebrx/admin_user_configured
|
||||||
|
Type: boolean
|
||||||
|
Default: false
|
||||||
|
Description: OpenWebRX "admin" user previously configured
|
||||||
|
Marker used internally by the config scripts to remember if an admin user has
|
||||||
|
been created.
|
Loading…
Reference in New Issue
Block a user