Update install

add dns server domain setting
This commit is contained in:
trendless
2026-06-15 21:37:00 -06:00
committed by GitHub
parent 4ac9eba0de
commit e93a4d7623
+2 -1
View File
@@ -70,7 +70,8 @@ else
fi
mytoken1=$(curl -s "http://127.0.0.1:5380/api/user/createToken?user=admin&pass=admin&tokenName=mytoken1" | jq -r '.token')
curl -s "http://localhost:5380/api/settings/set?dnsServerLocalEndPoints=$endpoints&Token=$mytoken1"
curl -s "http://localhost:5380/api/settings/set?dnsServerLocalEndPoints=$endpoints&token=$mytoken1"
curl -s "http://localhost:5380/api/settings/set?dnsServerDomain=$domain&token=$mytoken1"
#=================================================
# RESTART SYSTEMD SERVICE