summaryrefslogtreecommitdiff
path: root/news/inn/files/innd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'news/inn/files/innd.sh')
-rw-r--r--news/inn/files/innd.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh
index 833fe3302cb..7bf8f9eb15c 100644
--- a/news/inn/files/innd.sh
+++ b/news/inn/files/innd.sh
@@ -1,42 +1,42 @@
#!/bin/sh
#
-# $NetBSD: innd.sh,v 1.11 2001/07/29 05:11:26 tron Exp $
+# $NetBSD: innd.sh,v 1.12 2002/08/27 15:27:03 grant Exp $
#
# PROVIDE: inn
# REQUIRE: DAEMON
# KEYWORD: shutdown
-if [ -x @@PREFIX@@/inn/bin/rc.news -a -s @@INN_DATA_DIR@@/db/active ]
+if [ -x @PREFIX@/inn/bin/rc.news -a -s @INN_DATA_DIR@/db/active ]
then
- if [ ! -f @@PREFIX@@/etc/nntp/server ]
+ if [ ! -f @PREFIX@/etc/nntp/server ]
then
- hostname >@@PREFIX@@/etc/nntp/server
+ hostname >@PREFIX@/etc/nntp/server
fi
- if [ ! -f @@PREFIX@@/etc/nntp/domainname ]
+ if [ ! -f @PREFIX@/etc/nntp/domainname ]
then
- (set - X `grep ^fromhost: @@INN_DATA_DIR@@/etc/inn.conf`
+ (set - X `grep ^fromhost: @INN_DATA_DIR@/etc/inn.conf`
if [ $# -eq 3 ]
then
- echo $3 >@@PREFIX@@/etc/nntp/domainname
+ echo $3 >@PREFIX@/etc/nntp/domainname
fi)
fi
if [ $# -eq 0 ]
then
echo -n ' innd'
- su news -c "@@PREFIX@@/inn/bin/rc.news start" >/dev/null
+ su news -c "@PREFIX@/inn/bin/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 "@PREFIX@/inn/bin/rc.news $1" >/dev/null
exit 0
;;
stop )
- su news -c "@@PREFIX@@/inn/bin/rc.news $1"
+ su news -c "@PREFIX@/inn/bin/rc.news $1"
exit 0
;;
restart )