mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
7 lines
229 B
Bash
7 lines
229 B
Bash
#!/bin/sh
|
|
|
|
if [ "$USEPEERDNS" = "1" -a -f /etc/ppp/resolv.conf ]; then
|
|
[ -e /etc/resolv.conf ] && mv /etc/resolv.conf /etc/resolv.conf.backup.${IFNAME}
|
|
mv /etc/ppp/resolv.conf /etc/resolv.conf
|
|
chmod 644 /etc/resolv.conf
|
|
fi
|