summaryrefslogtreecommitdiff
path: root/news/inn-stable/files/innd.sh
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1998-01-25 21:41:03 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1998-01-25 21:41:03 +0000
commit3af1206c91583f8ccd990fa20df43cb0bf4694cd (patch)
tree08faafaa529715f47a9f056a1d5d55ff9193c5e4 /news/inn-stable/files/innd.sh
parentupgrade to 3.2.0.101 (diff)
- upgrade to 1.7.2
- 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
Notes
Notes: svn path=/head/; revision=9444
Diffstat (limited to 'news/inn-stable/files/innd.sh')
-rw-r--r--news/inn-stable/files/innd.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/news/inn-stable/files/innd.sh b/news/inn-stable/files/innd.sh
new file mode 100644
index 000000000000..18f1d68bd482
--- /dev/null
+++ b/news/inn-stable/files/innd.sh
@@ -0,0 +1,9 @@
+#!/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