Diff of /trunk/ppp/ip-upd-40-dns.sh
Parent Directory | Revision Log | Patch
revision 796 by niro, Mon May 11 09:39:21 2009 UTC | revision 1110 by niro, Fri Aug 20 11:06:48 2010 UTC | |
---|---|---|
# | Line 19 if [ "$USEPEERDNS" ]; then | Line 19 if [ "$USEPEERDNS" ]; then |
19 | # (taken from debian's 0000usepeerdns) | # (taken from debian's 0000usepeerdns) |
20 | ||
21 | # follow any symlink to find the real file | # follow any symlink to find the real file |
22 | REALRESOLVCONF=$(readlink --canonicalize /etc/resolv.conf) | REALRESOLVCONF=$(readlink -f /etc/resolv.conf) |
23 | ||
24 | if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then | if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then |
25 |
|