Lines 11-17
Link Here
|
11 |
# $5 = remote-IP-address |
11 |
# $5 = remote-IP-address |
12 |
# $6 = ipparam |
12 |
# $6 = ipparam |
13 |
|
13 |
|
14 |
if [ "$USEPEERDNS" ]; then |
14 |
if [ "$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then |
|
|
15 |
if [[ -z `/bin/grep 127.0.0.1 /etc/resolv.conf` ]]; then |
15 |
|
16 |
|
16 |
# add the server supplied DNS entries to /etc/resolv.conf |
17 |
# add the server supplied DNS entries to /etc/resolv.conf |
17 |
# (taken from debian's 0000usepeerdns) |
18 |
# (taken from debian's 0000usepeerdns) |
Lines 32-38
Link Here
|
32 |
mv $REALRESOLVCONF.tmp $REALRESOLVCONF |
33 |
mv $REALRESOLVCONF.tmp $REALRESOLVCONF |
33 |
|
34 |
|
34 |
fi |
35 |
fi |
35 |
|
36 |
fi |
36 |
fi |
37 |
fi |
37 |
|
38 |
|
38 |
[ -f /etc/init.d/firewall ] && /etc/init.d/firewall start |
39 |
[ -f /etc/init.d/firewall ] && /etc/init.d/firewall start |