Bug 37931

Summary: Fix for Dnews startup scripts
Product: Ports & Packages Reporter: Mark Russell <ports>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mark Russell 2002-05-10 16:40:01 UTC
the dnews start script points to non existent files

Fix: 

case $1 in
 start)
-       [ -x /usr/local/lib/dnews/dnews_start ] \
-               && /usr/local/lib/dnews/dnews_start > /dev/null 2>&1 &
+       [ -x /usr/local/dnews/dnews_start.sh ] \
+               && /usr/local/dnews/dnews_start.sh > /dev/null 2>&1 &

        # dnews started successfully if exit status = 0--koc6G0bWMT9ljTETtHjqp376IHWmSJFVMnytjaBCNivonHIH
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ur dnews.old/files/dnews.sh dnews/files/dnews.sh
--- dnews.old/files/dnews.sh    Sat May 11 01:16:27 2002
+++ dnews/files/dnews.sh        Sat May 11 01:28:51 2002
@@ -4,8 +4,8 @@
How-To-Repeat: Install Dnews and run the startup script
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-09-18 19:12:16 UTC
State Changed
From-To: open->closed

committed, thanks