From andy@fud.org.nz  Thu Oct  9 16:55:38 2003
Return-Path: <andy@fud.org.nz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 93E8716A4C0
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Oct 2003 16:55:38 -0700 (PDT)
Received: from smtp.fud.org.nz (203-79-110-29.cable.paradise.net.nz [203.79.110.29])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D45A243FE9
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  9 Oct 2003 16:55:33 -0700 (PDT)
	(envelope-from andy@fud.org.nz)
Received: by smtp.fud.org.nz (Postfix, from userid 1001)
	id 05545170B0; Fri, 10 Oct 2003 12:55:32 +1300 (NZDT)
Message-Id: <20031009235532.05545170B0@smtp.fud.org.nz>
Date: Fri, 10 Oct 2003 12:55:32 +1300 (NZDT)
From: Andrew Thompson <andy@fud.org.nz>
To: FreeBSD-gnats-submit@freebsd.org
Cc: king@v2project.com
Subject: net/xbms startup script check wrong conf file
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 09 17:00:33 PDT 2003
>Closed-Date:    Thu Oct 09 23:56:35 PDT 2003
>Last-Modified:  Thu Oct 09 23:56:35 PDT 2003
>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@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:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Thu Oct 9 23:56:23 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57822 
>Unformatted:
