#!/bin/sh
# you can set options in /etc/profile.locale, variable SYSLOGD_OPTS
#
# without options and without /var/log (!), syslogd will simply
# log to the console. If /var/log/ exists, it will log to /var/log/messages

. /etc/init.d/globals

case "$1" in
	start)
		syslogd $SYSLOGD_OPTS
	;;
	stop)
		killall syslogd
	;;
	restart)
		$0 stop
		$0 start
	;;
	*)
		echo "[$BASENAME] Usage: $0 {start|restart|stop}"
	;;
esac