Updated init script

This commit is contained in:
Henry Whitaker
2020-08-21 18:21:22 +01:00
parent 94c51a418c
commit e77a806de1

View File

@@ -108,7 +108,7 @@ if [ -z ${AUTH+x} ]; then
echo "AUTH variable not set. Disabling authentication"
php /config/www/artisan speedtest:auth --disable
else
if [ $AUTH == 'true ']; then
if [ $AUTH == 'true' ]; then
echo "AUTH variable set. Enabling authentication"
php /config/www/artisan speedtest:auth --enable
else