]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - ppp/patches/0018-scritps-fix-ip-up.local-sample.patch
libunistring: Update to version 0.9.6
[people/amarx/ipfire-3.x.git] / ppp / patches / 0018-scritps-fix-ip-up.local-sample.patch
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
5
6 Resolves: #613717
7 ---
8 scripts/ip-up.local.add | 3 +++
9 1 file changed, 3 insertions(+)
10
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
21 + fi
22 change_resolv_conf $rscf
23 rm -f $rscf
24 else
25 --
26 1.8.3.1
27