|
@@ -7079,7 +7079,7 @@ function enable_wifi_hotspot {
|
7079
|
7079
|
if grep -Fxq "enable_wifi_hotspot" $COMPLETION_FILE; then
|
7080
|
7080
|
return
|
7081
|
7081
|
fi
|
7082
|
|
- if [[ ENABLE_WIFI_HOTSPOT != "yes" ]]; then
|
|
7082
|
+ if [[ $ENABLE_WIFI_HOTSPOT != "yes" ]]; then
|
7083
|
7083
|
return
|
7084
|
7084
|
fi
|
7085
|
7085
|
apt-get -y install hostapd dnsmasq
|
|
@@ -7166,7 +7166,7 @@ function enable_wifi {
|
7166
|
7166
|
if grep -Fxq "enable_wifi" $COMPLETION_FILE; then
|
7167
|
7167
|
return
|
7168
|
7168
|
fi
|
7169
|
|
- if [[ ENABLE_WIFI != "yes" || ENABLE_WIFI_HOTSPOT != "yes" ]]; then
|
|
7169
|
+ if [[ $ENABLE_WIFI != "yes" || $ENABLE_WIFI_HOTSPOT != "yes" ]]; then
|
7170
|
7170
|
return
|
7171
|
7171
|
fi
|
7172
|
7172
|
sed -i 's/#auto wlan0/auto wlan0/g' /etc/network/interfaces
|