mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
f5ec537f78
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:
13 lines
268 B
Bash
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
|