소스 검색

Missing dollars

Bob Mottram 10 년 전
부모
커밋
7bd7539b32
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      install-freedombone.sh

+ 2
- 2
install-freedombone.sh 파일 보기

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