1 |
vip-ire |
1.1 |
diff -up ppp-2.4.5/scripts/ip-up.local.add.ppp_resolv ppp-2.4.5/scripts/ip-up.local.add |
2 |
|
|
--- ppp-2.4.5/scripts/ip-up.local.add.ppp_resolv 2010-07-13 10:29:23.227943994 +0200 |
3 |
|
|
+++ ppp-2.4.5/scripts/ip-up.local.add 2010-07-13 10:32:27.729695487 +0200 |
4 |
|
|
@@ -18,6 +18,9 @@ if [ -n "$USEPEERDNS" -a -f /var/run/ppp |
5 |
|
|
rscf=/var/run/ppp/resolv.new |
6 |
|
|
grep domain /var/run/ppp/resolv.prev > $rscf |
7 |
|
|
grep search /var/run/ppp/resolv.prev >> $rscf |
8 |
|
|
+ if [ -f /var/run/ppp/resolv.conf ]; then |
9 |
|
|
+ cat /var/run/ppp/resolv.conf >> $rscf |
10 |
|
|
+ fi |
11 |
|
|
change_resolv_conf $rscf |
12 |
|
|
rm -f $rscf |
13 |
|
|
else |