1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/news/inn-current/files/innd.sh
Steve Price a8a005dc0d Remove leading '[ -x' so this script works as intended.
PR:		6534
Submitted by:	Vadim Chekan <vadim@gc.lviv.ua>
1998-05-10 22:08:30 +00:00

10 lines
286 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
!!PREFIX!!/news/bin/ctlinnd shutdown machine is going down
fi