Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Warner <me@adamwarner.co.uk>2022-09-24 18:18:49 +0300
committerGitHub <noreply@github.com>2022-09-24 18:18:49 +0300
commit0a780a959ac1c548f62fc382a9a439948ce239ff (patch)
tree45da3ec1983304b9bdfa638041e56115cc5fd5a9
parent951b4ed0029f8001f1ee0d4969f99b9f5b7f4b10 (diff)
parent755ec8bf2f7a500e691dd1ce4281e55f396054fd (diff)
Fix issue in #4872 missed in review (#4940)
-rwxr-xr-xautomated install/basic-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index c0abae8b..f3df72e6 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -1270,7 +1270,7 @@ version_check_dnsmasq() {
addOrEditKeyValPair "${dnsmasq_pihole_01_target}" "interface" "$PIHOLE_INTERFACE"
if [[ "${PIHOLE_DNS_1}" != "" ]]; then
# then add in the primary DNS server.
- addOrEditKeyValPair "${dnsmasq_pihole_01_target}" "server" "$$PIHOLE_DNS_1"
+ addOrEditKeyValPair "${dnsmasq_pihole_01_target}" "server" "$PIHOLE_DNS_1"
fi
# Ditto if DNS2 is not empty
if [[ "${PIHOLE_DNS_2}" != "" ]]; then
@@ -1278,7 +1278,7 @@ version_check_dnsmasq() {
fi
# Set the cache size
- addOrEditKeyValPair "${dnsmasq_pihole_01_target}" "cache-size" "$$CACHE_SIZE"
+ addOrEditKeyValPair "${dnsmasq_pihole_01_target}" "cache-size" "$CACHE_SIZE"
sed -i 's/^#conf-dir=\/etc\/dnsmasq.d$/conf-dir=\/etc\/dnsmasq.d/' "${dnsmasq_conf}"