Bug 37931 - Fix for Dnews startup scripts
Summary: Fix for Dnews startup scripts
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-10 16:40 UTC by Mark Russell
Modified: 2002-09-18 19:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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