diff --git a/blockauth b/blockauth index ccdf28e..a42f99f 100755 --- a/blockauth +++ b/blockauth @@ -99,6 +99,13 @@ if [ -z "${max_ip_blocklist}" ] ; then fi source /etc/blockauth/blockauth.conf +# Force edit configuration file +if [ "${valid_users}" == "test1 test2" ] ; then + echo "blockauth: you must first configure the file /etc/blockauth/blockauth.conf" + echo "blockauth: process stopped" + exit +fi + echo "blockauth: running process" blockauth=0 while [ ${blockauth} -eq 0 ] ; do