Missing dollars
This commit is contained in:
parent
21c9d44e90
commit
7bd7539b32
|
@ -7079,7 +7079,7 @@ function enable_wifi_hotspot {
|
||||||
if grep -Fxq "enable_wifi_hotspot" $COMPLETION_FILE; then
|
if grep -Fxq "enable_wifi_hotspot" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [[ ENABLE_WIFI_HOTSPOT != "yes" ]]; then
|
if [[ $ENABLE_WIFI_HOTSPOT != "yes" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
apt-get -y install hostapd dnsmasq
|
apt-get -y install hostapd dnsmasq
|
||||||
|
@ -7166,7 +7166,7 @@ function enable_wifi {
|
||||||
if grep -Fxq "enable_wifi" $COMPLETION_FILE; then
|
if grep -Fxq "enable_wifi" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [[ ENABLE_WIFI != "yes" || ENABLE_WIFI_HOTSPOT != "yes" ]]; then
|
if [[ $ENABLE_WIFI != "yes" || $ENABLE_WIFI_HOTSPOT != "yes" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
sed -i 's/#auto wlan0/auto wlan0/g' /etc/network/interfaces
|
sed -i 's/#auto wlan0/auto wlan0/g' /etc/network/interfaces
|
||||||
|
|
Loading…
Reference in New Issue