Diff of /trunk/ppp/ip-downd-40-dns.sh
Parent Directory | Revision Log | Patch
revision 796 by niro, Mon May 11 09:39:21 2009 UTC | revision 1105 by niro, Fri Aug 20 10:27:56 2010 UTC | |
---|---|---|
# | Line 11 if [ "$USEPEERDNS" ]; then | Line 11 if [ "$USEPEERDNS" ]; then |
11 | else | else |
12 | # taken from debian's 0000usepeerdns | # taken from debian's 0000usepeerdns |
13 | # follow any symlink to find the real file | # follow any symlink to find the real file |
14 | REALRESOLVCONF=$(readlink --canonicalize /etc/resolv.conf) | REALRESOLVCONF=$(readlink -f /etc/resolv.conf) |
15 | ||
16 | if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then | if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then |
17 |
|