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
commit8b43ca5c372f4a4b907941c997bbecb147761f1b (patch)
treea871f470068fa5a68170319c0667e5ca2026d0b1
parentMarked ~alpha wrt bug #103663 (diff)
downloadgentoo-2-8b43ca5c372f4a4b907941c997bbecb147761f1b.tar.gz
gentoo-2-8b43ca5c372f4a4b907941c997bbecb147761f1b.tar.bz2
gentoo-2-8b43ca5c372f4a4b907941c997bbecb147761f1b.zip
Change to init script for bug #86560
(Portage version: 2.0.51.22-r3)
-rw-r--r--net-analyzer/barnyard/files/barnyard.rc66
1 files changed, 3 insertions, 3 deletions
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