generated from smedev/Template-for-SMEServer-Core-Package
Fix typo
This commit is contained in:
@@ -55,7 +55,7 @@ domainlist=$(echo $domainlist |sort|uniq)
|
||||
|
||||
#list from pihole install script; only ipv4 ones
|
||||
#here we select our
|
||||
dns=$(/sbin/e-smith/db configuration getprop letesencrypt dnscheck||echo "https://cloudflare-dns.com/dns-query,8.8.8.8,8.8.4.4,1.1.1.1,1.0.0.1,208.67.222.222,208.67.220.220,4.2.2.1,4.2.2.2,8.20.247.20,84.200.69.80,84.200.70.40,9.9.9.10,149.112.112.10")
|
||||
dns=$(/sbin/e-smith/db configuration getprop letsencrypt dnscheck||echo "https://cloudflare-dns.com/dns-query,8.8.8.8,8.8.4.4,1.1.1.1,1.0.0.1,208.67.222.222,208.67.220.220,4.2.2.1,4.2.2.2,8.20.247.20,84.200.69.80,84.200.70.40,9.9.9.10,149.112.112.10")
|
||||
# from https://stackoverflow.com/questions/10586153/how-to-split-a-string-into-an-array-in-bash
|
||||
IFS=', ' read -r -a DNS <<< "$dns"
|
||||
RANDOM=$$$(date +%s)
|
||||
@@ -80,7 +80,7 @@ mydns="https://cloudflare-dns.com/dns-query"
|
||||
done
|
||||
echo "External DNS Server : $mydns"
|
||||
|
||||
MYFORCEDIP=$(/sbin/e-smith/db configuration getprop letesencrypt ExternalIP)
|
||||
MYFORCEDIP=$(/sbin/e-smith/db configuration getprop letsencrypt ExternalIP)
|
||||
# check if gateway or server only
|
||||
MYMODE=$(/sbin/e-smith/db configuration get SystemMode)
|
||||
# check our external ip if gateway, internal else
|
||||
|
||||
Reference in New Issue
Block a user