1 From 40960f91cdd06da387616ec838ae2599e7f01cee Mon Sep 17 00:00:00 2001
2 From: Jiri Skala <jskala@fedoraproject.org>
3 Date: Mon, 7 Apr 2014 15:24:01 +0200
4 Subject: [PATCH 18/25] scritps: fix ip-up.local sample
8 scripts/ip-up.local.add | 3 +++
9 1 file changed, 3 insertions(+)
11 diff --git a/scripts/ip-up.local.add b/scripts/ip-up.local.add
12 index 26cf5f8..282337c 100644
13 --- a/scripts/ip-up.local.add
14 +++ b/scripts/ip-up.local.add
15 @@ -18,6 +18,9 @@ if [ -n "$USEPEERDNS" -a -f /var/run/ppp/resolv.conf ]; then
16 rscf=/var/run/ppp/resolv.new
17 grep domain /var/run/ppp/resolv.prev > $rscf
18 grep search /var/run/ppp/resolv.prev >> $rscf
19 + if [ -f /var/run/ppp/resolv.conf ]; then
20 + cat /var/run/ppp/resolv.conf >> $rscf
22 change_resolv_conf $rscf