summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Smee <strerror@gentoo.org>2005-11-26 13:10:49 +0000
committerBenjamin Smee <strerror@gentoo.org>2005-11-26 13:10:49 +0000
commitfbceeca2134127eefa9b2bd93d0cef122221e604 (patch)
tree7d73a8b1358b658b286ba1e603ae424765179cb9 /net-analyzer/barnyard
parentfix unipatch list (diff)
downloadhistorical-fbceeca2134127eefa9b2bd93d0cef122221e604.tar.gz
historical-fbceeca2134127eefa9b2bd93d0cef122221e604.tar.bz2
historical-fbceeca2134127eefa9b2bd93d0cef122221e604.zip
Change to init script for bug #86560
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'net-analyzer/barnyard')
-rw-r--r--net-analyzer/barnyard/Manifest2
-rw-r--r--net-analyzer/barnyard/files/barnyard.rc66
2 files changed, 4 insertions, 4 deletions
diff --git a/net-analyzer/barnyard/Manifest b/net-analyzer/barnyard/Manifest
index 61fe8a659726..84ea3be2527a 100644
--- a/net-analyzer/barnyard/Manifest
+++ b/net-analyzer/barnyard/Manifest
@@ -4,7 +4,7 @@ MD5 319801a4a4735aa68ceddb8d1c80e340 ChangeLog 1969
MD5 17784ab6e148b4abf7f6aa2390ce1bce metadata.xml 223
MD5 20781d966c89d732a0a2b0a8d7deadad barnyard-0.1.0.ebuild 1332
MD5 7393a1ed7bc62178acd52f2da6f01185 files/digest-barnyard-0.2.0-r1 66
-MD5 d513768e805f1e68bce21b6cffcf846a files/barnyard.rc6 762
+MD5 ad8ea362c32275fd385c370c7667fb2b files/barnyard.rc6 736
MD5 3e857c89ec58ac318ebd669e7f427908 files/barnyard.confd 556
MD5 e1650eb517daf81cb0abb45eee02a727 files/digest-barnyard-0.1.0 66
MD5 7393a1ed7bc62178acd52f2da6f01185 files/digest-barnyard-0.2.0 66
diff --git a/net-analyzer/barnyard/files/barnyard.rc6 b/net-analyzer/barnyard/files/barnyard.rc6
index dd0555671694..5b0b269136a9 100644
--- a/net-analyzer/barnyard/files/barnyard.rc6
+++ b/net-analyzer/barnyard/files/barnyard.rc6
@@ -1,15 +1,15 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/barnyard/files/barnyard.rc6,v 1.3 2004/07/14 23:00:18 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/barnyard/files/barnyard.rc6,v 1.4 2005/11/26 13:10:49 strerror Exp $
depend() {
need net
}
checkconfig() {
- if [ ! -e /etc/snort/barnyard.conf ] ; then
- eerror "You need an /etc/snort/barnyard.conf to run barnyard"
+ if [ ! -e $CONF ] ; then
+ eerror "You need a configuration file to run barnyard"
eerror "There is an example config in /etc/snort/barnyard.conf.distrib"
return 1
fi