From 5aea7eb860f451be8ed7825b09d3352157392085 Mon Sep 17 00:00:00 2001 From: RamSet Date: Tue, 17 Jul 2018 20:46:18 -0600 Subject: [PATCH] corrected function indentation Signed-off-by: RamSet --- automated install/basic-install.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index f34ef175..b7a84500 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1502,21 +1502,21 @@ disable_dnsmasq() { ${SUDO} sed -r -i.orig '/#?dns=dnsmasq/d' /etc/NetworkManager/NetworkManager.conf echo -e " ${TICK} Restarting Network manager" ${SUDO} systemctl reload-or-restart NetworkManager - else - # Disabling dnsmasq via systemctl - echo -e " ${INFO} Disabling dnsmasq via systemctl" - ${SUDO} systemctl disable dnsmasq &> /dev/null - fi - #setting dnsmasq_flag to false in order for the next check to validate or not - dnsmasq_flag=false - echo -e " ${INFO} Checking if dnsmasq is still running" - silent_port_53_check - if [[ $dnsmasq_flag = "true" ]]; then - echo -e " ${EXCL} dnsmasq still active, this is most likely due to the fact that ${COL_LIGHT_RED}dnsmasq" - echo -e " was loaded via a non convetional method. This might cause future conflicts with FTLDNS${COL_NC}" - ${SUDO} pkill dnsmasq - echo -e " ${TICK} dnsmasq process killed" - fi + else + # Disabling dnsmasq via systemctl + echo -e " ${INFO} Disabling dnsmasq via systemctl" + ${SUDO} systemctl disable dnsmasq &> /dev/null + fi + #setting dnsmasq_flag to false in order for the next check to validate or not + dnsmasq_flag=false + echo -e " ${INFO} Checking if dnsmasq is still running" + silent_port_53_check + if [[ $dnsmasq_flag = "true" ]]; then + echo -e " ${EXCL} dnsmasq still active, this is most likely due to the fact that ${COL_LIGHT_RED}dnsmasq" + echo -e " was loaded via a non convetional method. This might cause future conflicts with FTLDNS${COL_NC}" + ${SUDO} pkill dnsmasq + echo -e " ${TICK} dnsmasq process killed" + fi else echo -e " ${INFO} dnsmasq is not enabled" fi