1 |
idella4 15/05/01 04:45:42 |
2 |
|
3 |
Modified: fwknopd.init |
4 |
Log: |
5 |
tidy, patches by maintianer from Bug #519716 |
6 |
|
7 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 net-firewall/fwknop/files/fwknopd.init |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/files/fwknopd.init?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/files/fwknopd.init?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/files/fwknopd.init?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: fwknopd.init |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-firewall/fwknop/files/fwknopd.init,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- fwknopd.init 29 Apr 2015 23:18:49 -0000 1.2 |
23 |
+++ fwknopd.init 1 May 2015 04:45:42 -0000 1.3 |
24 |
@@ -1,7 +1,7 @@ |
25 |
#!/sbin/runscript |
26 |
# Copyright 1999-2015 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwknop/files/fwknopd.init,v 1.2 2015/04/29 23:18:49 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwknop/files/fwknopd.init,v 1.3 2015/05/01 04:45:42 idella4 Exp $ |
30 |
|
31 |
extra_commands="checkconfig" |
32 |
extra_started_commands="reload" |
33 |
@@ -30,12 +30,11 @@ |
34 |
ewarn "${warn_intf}" |
35 |
else |
36 |
# if PCAP_INTF and PCAP_FILE are not set, then fwknopd uses eth0 |
37 |
- if [ -z "$(grep \"^PCAP_FILE\" ${FWKNOPD_CONFIG})" ]; then |
38 |
+ if [ -z "$(grep '^PCAP_FILE' ${FWKNOPD_CONFIG})" ]; then |
39 |
need net |
40 |
ewarn "You are not binding any interface in PCAP_INTF statement in your |
41 |
fwknopd.conf," |
42 |
- ewarn "neither you are providing PCAP_FILE option. Thus fwknopd will listen on |
43 |
-eth0." |
44 |
+ ewarn "neither you are providing PCAP_FILE option. Thus fwknopd will listen on eth0." |
45 |
ewarn "You must add rc_need=\"net.eth0\" to your /etc/conf.d/${SVCNAME}." |
46 |
fi |
47 |
fi |