mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-26 21:17:40 +00:00
3af1206c91
- install $PREFIX/etc/rc.d/innd.sh (start and stop) - change group of $PREFIX/bin/rnews from uucp to dialer to work around a problem when using inn with uucp (rnews is not world-executable to prevent injection of faked articles) - don't install binaries in $PREFIX/etc - use /var/{spool,}/news/tmp instead of /var/tmp for rnews, otherwise rename will fail
10 lines
285 B
Bash
10 lines
285 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 stop machine is going down
|
|
fi
|