mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
2d58d467c5
commit
a88c9e77f7
@ -1198,7 +1198,11 @@ setup_bind(){
|
|||||||
echo ""
|
echo ""
|
||||||
mkdir -p /etc/bind/
|
mkdir -p /etc/bind/
|
||||||
cp -r /etc/openpanel/bind9/* /etc/bind/
|
cp -r /etc/openpanel/bind9/* /etc/bind/
|
||||||
|
|
||||||
|
# only on ubuntu systemd-resolved is installed
|
||||||
|
if [ -f /etc/os-release ] && grep -q "Ubuntu" /etc/os-release; then
|
||||||
echo " DNSStubListener=no" >> /etc/systemd/resolved.conf && systemctl restart systemd-resolved
|
echo " DNSStubListener=no" >> /etc/systemd/resolved.conf && systemctl restart systemd-resolved
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
send_install_log(){
|
send_install_log(){
|
||||||
|
Loading…
Reference in New Issue
Block a user