Missing dollars

This commit is contained in:
Bob Mottram 2014-12-24 22:37:20 +00:00
parent 21c9d44e90
commit 7bd7539b32
1 changed files with 2 additions and 2 deletions

View File

@ -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