Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Safe3 committed Oct 31, 2024
1 parent 39c7587 commit 2df304d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/download/latest/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,11 @@ for subnet in $subnets; do
fi
done

if [ -f '/etc/systemd/resolved.conf' ]; then
sed -r -i.orig 's/^#?DNSStubListener=.+$/DNSStubListener=no/g' /etc/systemd/resolved.conf
systemctl restart systemd-resolved
fi

if [ -z `command_exists netstat` ]; then
$( command -v yum || command -v apt-get ) install -y net-tools
fi
Expand Down

0 comments on commit 2df304d

Please sign in to comment.