head	1.5;
access;
symbols
	RELEASE-1_4:1.1.0.2
	GENTOO_1_4_SNAP_2003010800:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.01.01.01.01.06;	author idl0r;	state Exp;
branches;
next	1.4;
commitid	73474effb0524567;

1.4
date	2011.12.04.10.10.49;	author swegener;	state Exp;
branches;
next	1.3;
commitid	55d34edb47294567;

1.3
date	2009.08.10.06.01.18;	author wormo;	state Exp;
branches;
next	1.2;
commitid	fe94a7fb7ad4567;

1.2
date	2004.07.13.16.32.25;	author aliz;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.25.04.50.25;	author george;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2005.11.30.09.59.55;	author chriswhite;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Whitespace

(Portage version: 2.1.10.41/cvs/Linux i686)
@
text
@#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/files/ulogd,v 1.4 2011/12/04 10:10:49 swegener Exp $

extra_started_commands="reload"

depend() {
	need net
}

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 -- -u ulogd -d >/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 $?
}
@


1.4
log
@move reload to extra_started_commands

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
@
text
@d2 1
a2 1
# Copyright 1999-2011 Gentoo Foundation
d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/files/ulogd,v 1.3 2009/08/10 06:01:18 wormo Exp $
d24 1
a24 1
}	
d30 1
a30 1
}	
d36 1
a36 1
}	
@


1.3
log
@  Version bump (Thanks to parafin, bug #280450)
  sqlite flag removed for this version because sqlite module is disabled
  in upstream code (#if 0 comments out the whole module)
(Portage version: 2.1.6.13/cvs/Linux x86_64)
@
text
@d2 1
a2 1
# Copyright 1999-2004 Gentoo Foundation
d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/files/ulogd,v 1.2 2004/07/13 16:32:25 aliz Exp $
d6 1
a6 1
opts="reload"
@


1.2
log
@Closing #55504.
@
text
@d4 1
a4 1
# $Header: $
d22 1
a22 1
	start-stop-daemon --start --quiet --exec /usr/sbin/ulogd >/dev/null 2>&1
d33 1
a33 1
        ebegin "Reloading ulogd.conf file"
@


1.1
log
@added ULOG iptables target logger daemon ebuild
@
text
@d2 3
a4 6
#
# chkconfig: - 91 35
# description: Starts and stops the ulogd daemon
#
# pidfile: /var/lock/samba/ulogd.pid
# config:  /usr/local/etc/ulogd.conf
d6 1
a6 2

#opts="start stop restart status"
d12 5
a16 8
initService() {
# Avoid using root's TMPDIR
unset TMPDIR

# Check that ulogd.conf exists.
[ -f /etc/ulogd.conf ] || exit 0

RETVAL=0
d20 1
a20 1
	initService
a26 1
	initService
a32 1
	initService
d34 2
a35 4
	killproc ulogd -HUP
	RETVAL=$?
	echo
	return $RETVAL
@


1.1.1.1
log
@*** empty log message ***
@
text
@d2 6
a7 3
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/files/ulogd,v 1.2 2004/07/13 16:32:25 aliz Exp $
d9 2
a10 1
opts="reload"
d16 8
a23 5
checkconfig() {
	if [ ! -e /etc/ulogd.conf ]; then
		eerror "You need /etc/ulogd.conf"
		return 1
	fi
d27 1
a27 1
	checkconfig || return 1
d34 1
d41 1
d43 4
a46 2
	killall -HUP ulogd &>/dev/null
	eend $?
@


