From elitetek@subliminal.tekrealm.net  Tue Jan 28 20:47:20 2003
Return-Path: <elitetek@subliminal.tekrealm.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 356B737B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Jan 2003 20:47:20 -0800 (PST)
Received: from subliminal.tekrealm.net (subliminal.tekrealm.net [64.81.247.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 844AA43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Jan 2003 20:47:19 -0800 (PST)
	(envelope-from elitetek@subliminal.tekrealm.net)
Received: from subliminal.tekrealm.net (whoami@localhost [127.0.0.1])
	by subliminal.tekrealm.net (8.12.6/8.12.6) with ESMTP id h0T4lIFM050164
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Jan 2003 20:47:18 -0800 (PST)
	(envelope-from elitetek@subliminal.tekrealm.net)
Received: (from elitetek@localhost)
	by subliminal.tekrealm.net (8.12.6/8.12.6/Submit) id h0T4k39E050140;
	Tue, 28 Jan 2003 20:46:03 -0800 (PST)
Message-Id: <200301290446.h0T4k39E050140@subliminal.tekrealm.net>
Date: Tue, 28 Jan 2003 20:46:03 -0800 (PST)
From: Andrew Stuart <elitetek@subliminal.tekrealm.net>
Reply-To: Andrew Stuart <elitetek@subliminal.tekrealm.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Included rc.d startup script broken also says its starting drm-kmod which is incorrect.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47616
>Category:       ports
>Synopsis:       Included rc.d startup script broken also says its starting drm-kmod which is incorrect.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 28 20:50:01 PST 2003
>Closed-Date:    Sat Feb 15 17:00:15 PST 2003
>Last-Modified:  Sat Feb 15 17:00:15 PST 2003
>Originator:     Andrew Stuart
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD subliminal.tekrealm.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Jan 21 21:33:23 PST 2003 elitetek@subliminal.tekrealm.net:/usr/src/sys/compile/SUBLIMINAL i386


	
>Description:
	the provided startup script is broken. tries to start lcdd from bin instead of sbin, also says its starting drm-kmod instead of lcdd. 
>How-To-Repeat:
	install current port, and issue /usr/local/etc/rc.d/LCDd.sh.sample start. Watch it complain about missing file. 
>Fix:

	See attached Patch. 

--- lcdproc-startup-fix begins here ---
--- LCDd.sh.sample.orig	Tue Jan 28 20:35:49 2003
+++ LCDd.sh.sample	Tue Jan 28 20:36:18 2003
@@ -2,12 +2,12 @@
 
 case "$1" in
 	start)		
-		%%PREFIX%%/bin/LCDd -c %%PREFIX%%/etc/LCDd.conf
-		echo -n " drm-kmod"
+		%%PREFIX%%/sbin/LCDd -c %%PREFIX%%/etc/LCDd.conf
+		echo -n " LCDd"
 		;;
 	stop)
 		killall LCDd
-		echo -n " drm-kmod"
+		echo -n " LDCd"
 		;;
 	*)
 		echo ""
--- lcdproc-startup-fix ends here ---


>Release-Note:
>Audit-Trail:

From: Andrew Stuart <elitetek@tekrealm.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/47616: Included rc.d startup script broken also says its starting drm-kmod which is incorrect.
Date: Tue, 28 Jan 2003 20:54:02 -0800

 --Dxnq1zWXvFF0Q93v
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 duh! this is for sysutils/lcdproc
 sorry, brain is not working right now.
 
 --=20
 Andrew Stuart
 http://www.tekrealm.net
 
 
 New York is real.  The rest is done with mirrors.
 
 --Dxnq1zWXvFF0Q93v
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+N15qSLAP4zYxy3URAsA+AJ4u0dS1xLf5lmSa6hhilDtQ96NTiQCfaVx4
 rl3Ds7uHytjEFghPo0KWKqQ=
 =FOxu
 -----END PGP SIGNATURE-----
 
 --Dxnq1zWXvFF0Q93v--
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sat Feb 15 16:59:58 PST 2003 
State-Changed-Why:  
Committed, thanks. 

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