1 |
blueness 14/09/27 15:02:09 |
2 |
|
3 |
Modified: tincd-r1 |
4 |
Log: |
5 |
Fix bashism, bug #523862 |
6 |
|
7 |
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 net-misc/tinc/files/tincd-r1 |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/files/tincd-r1?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/files/tincd-r1?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/files/tincd-r1?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: tincd-r1 |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd-r1,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- tincd-r1 17 Jul 2014 05:47:19 -0000 1.1 |
23 |
+++ tincd-r1 27 Sep 2014 15:02:09 -0000 1.2 |
24 |
@@ -1,7 +1,7 @@ |
25 |
#!/sbin/runscript |
26 |
# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd-r1,v 1.1 2014/07/17 05:47:19 dlan Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd-r1,v 1.2 2014/09/27 15:02:09 blueness Exp $ |
30 |
|
31 |
extra_started_commands="reload" |
32 |
|
33 |
@@ -14,7 +14,7 @@ |
34 |
} |
35 |
|
36 |
checkconfig() { |
37 |
- if [ "${RC_SVCNAME}" == "tincd" ] ; then |
38 |
+ if [ "${RC_SVCNAME}" = "tincd" ] ; then |
39 |
ALL_NETNAME="$(awk '/^ *NETWORK:/ { print $2 }' "${NETS}")" |
40 |
else |
41 |
ALL_NETNAME="${RC_SVCNAME#*.}" |
42 |
@@ -39,7 +39,7 @@ |
43 |
eerror "Please set up ${CONFIG} !" |
44 |
else |
45 |
ebegin "Starting tinc network ${NETNAME}" |
46 |
- if [ "${SYSLOG}" == "yes" ]; then |
47 |
+ if [ "${SYSLOG}" = "yes" ]; then |
48 |
LOG="" |
49 |
else |
50 |
LOG="--logfile=/var/log/tinc.${NETNAME}.log" |