mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
a8a005dc0d
PR: 6534 Submitted by: Vadim Chekan <vadim@gc.lviv.ua>
10 lines
286 B
Bash
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
|