finally fixing ipxe dns bug.

This commit is contained in:
2015-07-03 22:48:37 -04:00
parent 683fdc89b0
commit 334cf89cb5
2 changed files with 10 additions and 3 deletions

View File

@@ -39,8 +39,8 @@ do
ifconfig ${i} down
fi
netctl restart ${i} > /dev/null 2>&1
cat /etc/resolvconf.conf.failover > /etc/resolvconf.conf
resolvconf -u
#cat /etc/resolvconf.conf.failover > /etc/resolvconf.conf
#resolvconf -u
done
}
@@ -50,3 +50,10 @@ then
fuck_you_gimme_net
systemctl restart openvpn@*
fi
# And lastly, do we need to set custom DNS servers?
host -s -W1 bdisk.square-r00t.net | egrep -q '^bdisk\.square-r00t\.net\ has\ address'
if [[ "${?}" != "0" ]];
then
resolvconf -u
fi