fix command

This commit is contained in:
Jakob Ketterl 2021-04-24 20:14:25 +02:00
parent 2da2a57e13
commit f3ed4a719a

View File

@ -25,7 +25,7 @@ case "$1" in
db_get openwebrx/admin_user_password db_get openwebrx/admin_user_password
if [ ! -z "${RET}" ]; then if [ ! -z "${RET}" ]; then
if ! openwebrx-admin --silent hasuser admin; then if ! openwebrx admin --silent hasuser admin; then
# create initial openwebrx user # create initial openwebrx user
OWRX_PASSWORD="${RET}" openwebrx admin --noninteractive adduser admin OWRX_PASSWORD="${RET}" openwebrx admin --noninteractive adduser admin
else else