From b723714c0c1f4e7f536c4ed0c5be72ee3c2530e2 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Tue, 1 Nov 2016 09:33:39 +0000 Subject: [PATCH] Convention : https://google.github.io/styleguide/shell.xml?showone=Constants_and_Environment_Variable_Names#Constants_and_Environment_Variable_Names --- automated install/basic-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index c649d448..19c71818 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -549,11 +549,11 @@ setLogging() { case ${LogChoices} in "On (Recommended)") echo "::: Logging On." - QUERYLOGGING=true + QUERY_LOGGING=true ;; Off) echo "::: Logging Off." - QUERYLOGGING=false + QUERY_LOGGING=false ;; esac } @@ -634,7 +634,7 @@ version_check_dnsmasq() { sed -i 's/^#conf-dir=\/etc\/dnsmasq.d$/conf-dir=\/etc\/dnsmasq.d/' ${dnsmasq_conf} - if [[ "${QUERYLOGGING}" == false ]] ; then + if [[ "${QUERY_LOGGING}" == false ]] ; then #Disable Logging sed -i 's/^log-queries/#log-queries/' ${dnsmasq_pihole_01_location} else @@ -885,7 +885,7 @@ finalExports() { echo "IPv6_address=${IPv6_address}" echo "piholeDNS1=${piholeDNS1}" echo "piholeDNS2=${piholeDNS2}" - echo "QUERYLOGGING=${QUERYLOGGING}" + echo "QUERY_LOGGING=${QUERY_LOGGING}" }>> "${setupVars}" }