updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / ppp-mppe / ip-up.d.dns.sh
blobf9df543a492472bd501f2ac9f02b109171469b71
1 #!/bin/sh
3 if [ "$USEPEERDNS" = "1" -a -f /etc/ppp/resolv.conf ]; then
4 [ -e /etc/resolv.conf ] && mv /etc/resolv.conf /etc/resolv.conf.backup.${IFNAME}
5 mv /etc/ppp/resolv.conf /etc/resolv.conf
6 chmod 644 /etc/resolv.conf
7 fi