1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/net/dhisd/files/dhisd.sh
Will Andrews 83121084aa Add dhisd 4.0, DHIS server for updating dynamic DNS entries in DNS
tables.

PR:		25368
Submitted by:	Bas Kruit <baskruit@bsltwr.dhis.org>
2001-03-12 22:52:33 +00:00

16 lines
243 B
Bash

#!/bin/sh
case "$1" in
start)
[ -x "__PREFIX__/dhis/bin/dhisd" ] && __PREFIX__/dhis/bin/dhisd > /dev/null && echo -n ' dhisd'
;;
stop)
killall dhisd && echo -n ' dhisd'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
;;
esac
exit 0