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