freebsd-ports/net/silc-server/files/silcd.sh
Kirill Ponomarev b87c6e2d10 - Update to version 0.9.14
PR:		58590
Submitted by:	Evgueni V. Gavrilov <aquatique@rusunix.org> (maintainer)
2003-10-27 11:19:21 +00:00

15 lines
295 B
Bash

#!/bin/sh
case "$1" in
start)
[ -x %%PREFIX%%/sbin/silcd ] && %%PREFIX%%/sbin/silcd > /dev/null && echo -n ' silcd'
;;
stop)
[ -r /var/run/silcd.pid ] && /bin/kill `cat /var/run/silcd.pid` > /dev/null && echo -n ' silcd'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
;;
esac
exit 0