Fixed issue rtegarding wrong dns file

This commit is contained in:
2020-10-23 14:09:09 +02:00
parent 33c8ebd3e3
commit a197c978f1
3 changed files with 8 additions and 8 deletions

View File

@@ -13,8 +13,8 @@ ufw allow 10000/udp > $OUTPUT 2>&1
echo "y" | ufw enable > $OUTPUT 2>&1
##config dns
mv /etc/resolve.conf /etc/resolve.conf.bck
echo "nameserver $intip" > /etc/resolve.conf
mv /etc/resolv.conf /etc/resolv.conf.bck > $OUTPUT 2>&1
echo "nameserver $intip" > /etc/resolv.conf
##config jitsi
systemctl stop jitsi-videobridge2 > $OUTPUT 2>&1