1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/news/inn-current/files/innd.sh
Andreas Klemm a9575910ed fix invalid ctlinnd option (stop)
And closed PR 5620, since all things are fixed now
Submitted by:	Adrian Wontroba <aw1@stade.co.uk>
1998-02-14 14:01:33 +00:00

10 lines
289 B
Bash

#!/bin/sh
if [ $# -eq 0 -o x$1 = xstart ]; then
if [ -x !!PREFIX!!/etc/rc.news -a -f !!PREFIX!!/news/lib/history.pag ]; then
limits -C news !!PREFIX!!/etc/rc.news && echo ' inn'
fi
fi
if [ x$1 = xstop ]; then
[ -x !!PREFIX!!/news/bin/ctlinnd shutdown machine is going down
fi