diff options
Diffstat (limited to 'testing/ulogd/ulogd.initd')
-rw-r--r-- | testing/ulogd/ulogd.initd | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/testing/ulogd/ulogd.initd b/testing/ulogd/ulogd.initd deleted file mode 100644 index 4413327b..00000000 --- a/testing/ulogd/ulogd.initd +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/app-admin/ulogd/files/ulogd,v 1.2 2004/07/13 16:32:25 aliz Exp $ - -opts="reload" - -depend() { - need net - after firewall -} - -checkconfig() { - if [ ! -e /etc/ulogd.conf ]; then - eerror "You need /etc/ulogd.conf" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting ulogd" - start-stop-daemon --start --quiet --exec /usr/sbin/ulogd >/dev/null 2>&1 - eend $? -} - -stop() { - ebegin "Stopping ulogd" - start-stop-daemon --stop --quiet --exec /usr/sbin/ulogd >/dev/null 2>&1 - eend $? -} - -reload() { - ebegin "Reloading ulogd.conf file" - killall -HUP ulogd &>/dev/null - eend $? -} - |