浏览代码

Missing dollars

Bob Mottram 10 年前
父节点
当前提交
7bd7539b32
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      install-freedombone.sh

+ 2
- 2
install-freedombone.sh 查看文件

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