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

@@ -21,12 +21,12 @@ mkdir -p /etc/opt/chrome/policies/managed > $OUTPUT 2>&1
echo '{ "CommandLineFlagSecurityWarningsEnabled": false }' >>/etc/opt/chrome/policies/managed/managed_policies.json
#config alsa
echo "snd_aloop" >> /etc/modules > $OUTPUT 2>&1
echo "snd_aloop" >> /etc/modules
modprobe snd_aloop > $OUTPUT 2>&1
##config dns
mv resolv.conf resolv.conf.bck > $OUTPUT 2>&1
echo "nameserver $intip" > resolv.conf
mv /etc/resolv.conf /etc/resolv.conf.bck > $OUTPUT 2>&1
echo "nameserver $intip" > /etc/resolv.conf
#config jibri
systemctl stop jibri