actually fix up logic
This commit is contained in:
@ -555,7 +555,7 @@ version_check_dnsmasq() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${IPv6_address}" != "" ]]; then
|
if [[ "${IPv6_address}" != "" ]]; then
|
||||||
sed -i "s/@IPv4@/$IPv6_address/" ${dnsmasq_pihole_01_location}
|
sed -i "s/@IPv6@/$IPv6_address/" ${dnsmasq_pihole_01_location}
|
||||||
else
|
else
|
||||||
sed -i '/^address=/pi.hole/@IPv6@/d' ${dnsmasq_pihole_01_location}
|
sed -i '/^address=/pi.hole/@IPv6@/d' ${dnsmasq_pihole_01_location}
|
||||||
sed -i '/^address=/@HOSTNAME@/@IPv6@/d' ${dnsmasq_pihole_01_location}
|
sed -i '/^address=/@HOSTNAME@/@IPv6@/d' ${dnsmasq_pihole_01_location}
|
||||||
|
Reference in New Issue
Block a user