瀏覽代碼

Capitalise

Bob Mottram 8 年之前
父節點
當前提交
2225963992
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-app-pihole

+ 2
- 2
src/freedombone-app-pihole 查看文件

@@ -99,9 +99,9 @@ function pihole_update {
99 99
 
100 100
     setupVars=$piholeDir/setupVars.conf
101 101
     echo "piholeInterface=${PIHOLE_IFACE}" > ${setupVars}
102
-    echo "IPv4_address=${IPv4_address}" >> ${setupVars}
102
+    echo "IPV4_ADDRESS=${IPv4_address}" >> ${setupVars}
103 103
     if [ ${#IPv6_address} -gt 0 ]; then
104
-        echo "IPv6_address=${IPv6_address}" >> ${setupVars}
104
+        echo "IPV6_ADDRESS=${IPv6_address}" >> ${setupVars}
105 105
     fi
106 106
     echo "piholeDNS1=${PIHOLE_DNS1}" >> ${setupVars}
107 107
     echo "piholeDNS2=${PIHOLE_DNS1}" >> ${setupVars}