mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
install.sh: updated to use new install path.
This commit is contained in:
@@ -1,8 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
dotnetDir="/opt/dotnet"
|
dotnetDir="/opt/dotnet"
|
||||||
|
|
||||||
|
if [ -d "/etc/dns/config" ]
|
||||||
|
then
|
||||||
dnsDir="/etc/dns"
|
dnsDir="/etc/dns"
|
||||||
dnsTar="/etc/dns/DnsServerPortable.tar.gz"
|
else
|
||||||
|
dnsDir="/opt/technitium/dns"
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnsTar="$dnsDir/DnsServerPortable.tar.gz"
|
||||||
dnsUrl="https://download.technitium.com/dns/DnsServerPortable.tar.gz"
|
dnsUrl="https://download.technitium.com/dns/DnsServerPortable.tar.gz"
|
||||||
|
|
||||||
mkdir -p $dnsDir
|
mkdir -p $dnsDir
|
||||||
|
|||||||
Reference in New Issue
Block a user