#! /bin/sh # # Service Location Protocol daemon # # PROVIDE: slpd # REQUIRE: DAEMON if [ -e /etc/rc.subr ] then . /etc/rc.subr fi name="slpd" rcvar=${name} command="@PREFIX@/sbin/${name}" pidfile="/var/run/${name}.pid" required_files="/etc/slp.conf" if [ -e /etc/rc.subr ] then load_rc_config $name run_rc_command "$1" else @ECHO@ -n " ${name}" ${command} ${slpd_flags} ${command_args} fi