diff options
Diffstat (limited to 'app-admin/syslog-ng/files/syslog-ng.rc6')
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.rc6 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app-admin/syslog-ng/files/syslog-ng.rc6 b/app-admin/syslog-ng/files/syslog-ng.rc6 index 910111a6a299..aa71147eb96d 100644 --- a/app-admin/syslog-ng/files/syslog-ng.rc6 +++ b/app-admin/syslog-ng/files/syslog-ng.rc6 @@ -1,11 +1,15 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.11 2004/02/13 19:09:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.12 2004/02/15 01:11:37 agriffis Exp $ opts="depend checkconfig start stop reload" depend() { + # make networking dependency conditional on configuration + sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf | \ + grep -Eq '(source|destination).*(tcp|udp)' && need net + need clock hostname provide logger } |