freebsd-ports/net/openslp/files/slpd.sh.sample
OKAZAKI Tetsurou c5daf64bcb Add OpenSLP 1.0.2, open-source implementation of the Service
Location Protocol.

PR:		30601
Submitted by:	Joe Clarke <marcus@marcuscom.com>
2001-09-29 05:42:30 +00:00

23 lines
244 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# OpenSLP daemon.
#
if ! test -x %%PREFIX%%/sbin/slpd
then
# exit 0
fi
case $1 in
start)
echo -n ' slpd'
%%PREFIX%%/sbin/slpd
;;
stop)
killall slpd
;;
*)
echo "Usage: $0: [ start | stop ]" 2>&1
exit 65
;;
esac