#!@RCD_SCRIPTS_SHELL@ # # $NetBSD: slpd.sh,v 1.10 2004/11/27 04:41:12 jlam Exp $ # # Service Location Protocol daemon # # PROVIDE: slpd # REQUIRE: DAEMON if [ -f /etc/rc.subr ] then . /etc/rc.subr fi name="slpd" rcvar=${name} command="@PREFIX@/sbin/${name}" pidfile="@VARBASE@/run/${name}.pid" required_files="@PKG_SYSCONFDIR@/slp.conf" if [ -f /etc/rc.subr ] then load_rc_config $name run_rc_command "$1" else @ECHO@ -n " ${name}" ${command} ${slpd_flags} ${command_args} fi