public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/tinc/files: tincd-r1
@ 2014-09-27 15:02 Anthony G. Basile (blueness)
  0 siblings, 0 replies; only message in thread
From: Anthony G. Basile (blueness) @ 2014-09-27 15:02 UTC (permalink / raw
  To: gentoo-commits

blueness    14/09/27 15:02:09

  Modified:             tincd-r1
  Log:
  Fix bashism, bug #523862
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

Revision  Changes    Path
1.2                  net-misc/tinc/files/tincd-r1

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/files/tincd-r1?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/files/tincd-r1?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tinc/files/tincd-r1?r1=1.1&r2=1.2

Index: tincd-r1
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd-r1,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tincd-r1	17 Jul 2014 05:47:19 -0000	1.1
+++ tincd-r1	27 Sep 2014 15:02:09 -0000	1.2
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd-r1,v 1.1 2014/07/17 05:47:19 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd-r1,v 1.2 2014/09/27 15:02:09 blueness Exp $
 
 extra_started_commands="reload"
 
@@ -14,7 +14,7 @@
 }
 
 checkconfig() {
-	if [ "${RC_SVCNAME}"  == "tincd" ] ; then
+	if [ "${RC_SVCNAME}" = "tincd" ] ; then
 		ALL_NETNAME="$(awk '/^ *NETWORK:/ { print $2 }' "${NETS}")"
 	else
 		ALL_NETNAME="${RC_SVCNAME#*.}"
@@ -39,7 +39,7 @@
 			eerror "Please set up ${CONFIG} !"
 		else
 			ebegin "Starting tinc network ${NETNAME}"
-			if [ "${SYSLOG}" == "yes" ]; then
+			if [ "${SYSLOG}" = "yes" ]; then
 				LOG=""
 			else
 				LOG="--logfile=/var/log/tinc.${NETNAME}.log"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-27 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-27 15:02 [gentoo-commits] gentoo-x86 commit in net-misc/tinc/files: tincd-r1 Anthony G. Basile (blueness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox