From 7bd7539b32b5229eefc284ad77bd51809a52cb9d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 24 Dec 2014 22:37:20 +0000 Subject: [PATCH] Missing dollars --- install-freedombone.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index d1d73d48..043f9182 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -7079,7 +7079,7 @@ function enable_wifi_hotspot { if grep -Fxq "enable_wifi_hotspot" $COMPLETION_FILE; then return fi - if [[ ENABLE_WIFI_HOTSPOT != "yes" ]]; then + if [[ $ENABLE_WIFI_HOTSPOT != "yes" ]]; then return fi apt-get -y install hostapd dnsmasq @@ -7166,7 +7166,7 @@ function enable_wifi { if grep -Fxq "enable_wifi" $COMPLETION_FILE; then return fi - if [[ ENABLE_WIFI != "yes" || ENABLE_WIFI_HOTSPOT != "yes" ]]; then + if [[ $ENABLE_WIFI != "yes" || $ENABLE_WIFI_HOTSPOT != "yes" ]]; then return fi sed -i 's/#auto wlan0/auto wlan0/g' /etc/network/interfaces