ports/57822: net/xbms startup script check wrong conf file

Andrew Thompson andy at fud.org.nz
Fri Oct 10 00:00:35 UTC 2003


>Number:         57822
>Category:       ports
>Synopsis:       net/xbms startup script check wrong conf file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 09 17:00:33 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Thompson
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kate.fud.org.nz 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Mon Sep 29 09:10:35 NZST 2003 andy at kate.fud.org.nz:/usr/obj/usr/src/sys/KATE i386


	
>Description:

	The startup script checks the existance of /usr/local/etc/xbms.conf.sample before starting the 
	process. It is normal to rename the .sample scripts such as xbms.conf.sample -> xbms.conf before 
	using the software. 

	The patch below corrects the rc.d script. 
	

	
>How-To-Repeat:
	
>Fix:


--- xbms.sh.sample.orig Fri Oct 10 12:47:46 2003
+++ xbms.sh.sample      Fri Oct 10 12:48:07 2003
@@ -10,7 +10,7 @@
 case "$1" in
        start)
                echo -n " xbms"
-               if [ -f /usr/local/etc/xbms.conf.sample ]; then
+               if [ -f /usr/local/etc/xbms.conf ]; then
                        /usr/local/bin/xbms
                fi
                ;;


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list