summaryrefslogtreecommitdiff
path: root/news/inn/files
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2008-06-23 09:10:53 +0000
committerspz <spz@pkgsrc.org>2008-06-23 09:10:53 +0000
commit537f3624296812460fd8e5bc70d783170b25daed (patch)
tree6250fe361e315e9f3afcec9d73c2da388baa4037 /news/inn/files
parent25d87074138987166e3435794a0040c49473694f (diff)
downloadpkgsrc-537f3624296812460fd8e5bc70d783170b25daed.tar.gz
- bump inn version to 2.4.4
- major change of directory structure - two new options (uucp and perl now both optional) - change of maintainer
Diffstat (limited to 'news/inn/files')
-rw-r--r--news/inn/files/innd.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh
index 90494923e26..bd6ca4849d5 100644
--- a/news/inn/files/innd.sh
+++ b/news/inn/files/innd.sh
@@ -1,12 +1,12 @@
#!/bin/sh
#
-# $NetBSD: innd.sh,v 1.13 2002/09/29 10:39:36 jlam Exp $
+# $NetBSD: innd.sh,v 1.14 2008/06/23 09:10:53 spz Exp $
#
# PROVIDE: inn
# REQUIRE: DAEMON
# KEYWORD: shutdown
-if [ -x @PREFIX@/inn/bin/rc.news -a -s @INN_DATA_DIR@/db/active ]
+if [ -x @INN_PATHBIN@/rc.news -a -s @INN_DATA_DIR@/db/active ]
then
if [ ! -f @PREFIX@/etc/nntp/server ]
then
@@ -25,18 +25,18 @@ then
if [ $# -eq 0 ]
then
echo -n ' innd'
- su news -c "@PREFIX@/inn/bin/rc.news start" >/dev/null
+ su news -c "@INN_PATHBIN@/rc.news start" >/dev/null
exit 0
fi
case "$1" in
start )
echo "Starting INN."
- su news -c "@PREFIX@/inn/bin/rc.news $1" >/dev/null
+ su news -c "@INN_PATHBIN@/rc.news $1" >/dev/null
exit 0
;;
stop )
- su news -c "@PREFIX@/inn/bin/rc.news $1"
+ su news -c "@INN_PATHBIN@/rc.news $1"
exit 0
;;
restart )