diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-10-29 06:30:54 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-10-29 06:30:54 +0800 |
commit | b8d5fc5fee74fc3eb0a04fdfd52c93c3f749c4ca (patch) | |
tree | 3e8d7b951d654281dbd06f51199ab2a67382bebd /net/dante/files | |
parent | a56eda324d65d24a8914a075a4f1be2b2936c0ea (diff) | |
download | freebsd-ports-graphics-b8d5fc5fee74fc3eb0a04fdfd52c93c3f749c4ca.tar.gz freebsd-ports-graphics-b8d5fc5fee74fc3eb0a04fdfd52c93c3f749c4ca.tar.zst freebsd-ports-graphics-b8d5fc5fee74fc3eb0a04fdfd52c93c3f749c4ca.zip |
- Add startup script.
- Utilize DOCSDIR.
- Bump PORTREVISION.
Approved by: anders (MAINTAINER)
Diffstat (limited to 'net/dante/files')
-rw-r--r-- | net/dante/files/sockd.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/dante/files/sockd.sh b/net/dante/files/sockd.sh new file mode 100644 index 00000000000..34653ae14bf --- /dev/null +++ b/net/dante/files/sockd.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +case "$1" in +start) + [ -x /usr/local/sbin/sockd ] && /usr/local/sbin/sockd -D > /dev/null && echo -n ' sockd' + ;; +stop) + [ -r /var/run/sockd.pid ] && kill `cat /var/run/sockd.pid` && echo -n ' sockd' + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 |