From: | "Cedric Krier (cedk)" <cedk@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/openvpn/files: up.sh |
Date: | Wed, 15 Apr 2009 22:02:03 |
Message-Id: | E1LuD9j-000807-QR@stork.gentoo.org |
1 | cedk 09/04/15 22:00:31 |
2 | |
3 | Modified: up.sh |
4 | Log: |
5 | Fix up.sh to add search for all domains for bug #259382 |
6 | (Portage version: 2.1.6.7/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.14 net-misc/openvpn/files/up.sh |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openvpn/files/up.sh?rev=1.14&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openvpn/files/up.sh?rev=1.14&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openvpn/files/up.sh?r1=1.13&r2=1.14 |
14 | |
15 | Index: up.sh |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/net-misc/openvpn/files/up.sh,v |
18 | retrieving revision 1.13 |
19 | retrieving revision 1.14 |
20 | diff -u -r1.13 -r1.14 |
21 | --- up.sh 30 Jan 2008 15:05:26 -0000 1.13 |
22 | +++ up.sh 15 Apr 2009 22:00:31 -0000 1.14 |
23 | @@ -31,7 +31,7 @@ |
24 | if [ -z "${DOMAIN}" ] ; then |
25 | DOMAIN="${opt#dhcp-option DOMAIN *}" |
26 | else |
27 | - SEARCH="${SEARCH:+ }${opt#dhcp-option DOMAIN *}" |
28 | + SEARCH="${SEARCH}${SEARCH:+ }${opt#dhcp-option DOMAIN *}" |
29 | fi |
30 | elif [ "${opt}" != "${opt#dhcp-option DNS *}" ] ; then |
31 | NS="${NS}nameserver ${opt#dhcp-option DNS *}\n" |