From fa363ecaf7fcd6a7ee43fe5ec046dc5ea7e94686 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 11 Jan 2008 23:49:40 +0000 Subject: Don't use bins in global if we can help it. --- init.d.BSD/syslogd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.d.BSD/syslogd') diff --git a/init.d.BSD/syslogd b/init.d.BSD/syslogd index 5f362fee..c583d248 100644 --- a/init.d.BSD/syslogd +++ b/init.d.BSD/syslogd @@ -4,7 +4,10 @@ command=/usr/sbin/syslogd command_args=${syslogd_args} -pidfile=$(strings ${command} | grep /var/run/syslog) +case "${RC_UNAME}" in + FreeBSD|DragonFly) pidfile=/var/run/syslog.pid;; + *) pidfile=/var/run/syslogd.pid;; +esac name="System Logger Daemon" depend() -- cgit v1.2.3