freebsd-ports/net/mars_nwe/files/nwserv.sh
2000-05-16 07:45:41 +00:00

12 lines
153 B
Bash

#!/bin/sh
PREFIX=/usr/local
PROG=${PREFIX}/sbin/nwserv
if [ x$1 = xstart ]; then
(sleep 120;${PROG}) &
elif [ "x$1" = "xstop" ]; then
${PROG} -k
fi