mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
a9575910ed
And closed PR 5620, since all things are fixed now Submitted by: Adrian Wontroba <aw1@stade.co.uk>
10 lines
289 B
Bash
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
|