The first configuration is forced
This commit is contained in:
parent
7800611d76
commit
9164a05729
|
@ -99,6 +99,13 @@ if [ -z "${max_ip_blocklist}" ] ; then
|
||||||
fi
|
fi
|
||||||
source /etc/blockauth/blockauth.conf
|
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"
|
echo "blockauth: running process"
|
||||||
blockauth=0
|
blockauth=0
|
||||||
while [ ${blockauth} -eq 0 ] ; do
|
while [ ${blockauth} -eq 0 ] ; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user