Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 20:46:03 -0800 (PST)
From:      Andrew Stuart <elitetek@subliminal.tekrealm.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47616: Included rc.d startup script broken also says its starting drm-kmod which is incorrect.
Message-ID:  <200301290446.h0T4k39E050140@subliminal.tekrealm.net>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 28 20:50:01 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301290446.h0T4k39E050140>