From 6cdb046b3485b441e3b5a0ad9483d1e011e9b41d Mon Sep 17 00:00:00 2001 From: Emmanuel Papin Date: Sat, 20 Dec 2014 20:12:33 +0100 Subject: [PATCH] Do not repeat admin password question if already answered --- distros/debian8/zoneminder-database.config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/distros/debian8/zoneminder-database.config b/distros/debian8/zoneminder-database.config index 5c5b0afe5..f6a84d36d 100644 --- a/distros/debian8/zoneminder-database.config +++ b/distros/debian8/zoneminder-database.config @@ -131,6 +131,9 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then # password update in ZoneMinder database db_set zoneminder/admin_password "" fi + # Set the seen flag to not ask this question again if no password is + # provided + db_fset zoneminder/admin_password seen true fi