idella4     15/05/01 04:45:42

  Modified:             fwknopd.init
  Log:
  tidy, patches by maintianer from Bug #519716
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.3                  net-firewall/fwknop/files/fwknopd.init

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/files/fwknopd.init?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/files/fwknopd.init?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/files/fwknopd.init?r1=1.2&r2=1.3

Index: fwknopd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/fwknop/files/fwknopd.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fwknopd.init        29 Apr 2015 23:18:49 -0000      1.2
+++ fwknopd.init        1 May 2015 04:45:42 -0000       1.3
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwknop/files/fwknopd.init,v 
1.2 2015/04/29 23:18:49 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwknop/files/fwknopd.init,v 
1.3 2015/05/01 04:45:42 idella4 Exp $
 
 extra_commands="checkconfig"
 extra_started_commands="reload"
@@ -30,12 +30,11 @@
                        ewarn "${warn_intf}"
                else
                        # if PCAP_INTF and PCAP_FILE are not set, then fwknopd 
uses eth0
-                       if [ -z "$(grep \"^PCAP_FILE\" ${FWKNOPD_CONFIG})" ]; 
then
+                       if [ -z "$(grep '^PCAP_FILE' ${FWKNOPD_CONFIG})" ]; then
                                need net
                                ewarn "You are not binding any interface in 
PCAP_INTF statement in your 
 fwknopd.conf,"
-                               ewarn "neither you are providing PCAP_FILE 
option. Thus fwknopd will listen on 
-eth0."
+                               ewarn "neither you are providing PCAP_FILE 
option. Thus fwknopd will listen on eth0."
                                ewarn "You must add rc_need=\"net.eth0\" to 
your /etc/conf.d/${SVCNAME}."
                        fi
                fi




Reply via email to