1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/news/dnews/files/dnews.sh
Andreas Klemm f5ec537f78 upgrade dnews to most recent FreeBSD version 4.2j
added faq from www server
revamped directory structure, port now uses:
	/var/log/dnews
	/var/spool/dnews
	${PREFIX}/lib/dnews
the cgi stuff isn't tested
PR:
Reviewed by:
Submitted by:
Obtained from:
1997-05-29 15:22:14 +00:00

13 lines
268 B
Bash

#!/bin/sh
# start dnews if it's really there ... usually in /usr/local ...
[ -x /usr/local/lib/dnews/dnews_start ] \
&& /usr/local/lib/dnews/dnews_start > /dev/null 2>&1 &
# dnews started successfully if exit status = 0
if [ $? -eq 0 ]; then
echo -n ' dnews'
fi