ports/114168: [PATCH] esound lacks startup script for esd

Roland Smith rsmith at xs4all.nl
Sat Jun 30 20:10:04 UTC 2007


>Number:         114168
>Category:       ports
>Synopsis:       [PATCH] esound lacks startup script for esd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 30 20:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Roland Smith
>Release:        FreeBSD 6.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD slackbox.xs4all.nl 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sun Jun 24 18:44:45 CEST 2007 rsmith at slackbox.xs4all.nl:/usr/obj/usr/src/sys/RFS amd64


	
>Description:
	When using esound without a desktop environment but just a window
	manager, I have to start it up manually lest there be no
	sound. Which is annoying.
>How-To-Repeat:
	Install esound, try to play sound.
>Fix:

The following is a startup script for esound (esd);
-------------------- esound --------------------
#!/bin/sh
#
# Startup script for esound

# PROVIDE: esound
# REQUIRE: DEAMON
# KEYWORD: shutdown

# Add the following line to /etc/rc.conf to enable the esound daemon:
#
#       esound_enable="YES"
#
# The configuration of esound is contained in /usr/local/etc/esd.conf
#

. /etc/rc.subr

name="esound"
rcvar=`set_rcvar`

load_rc_config $name
: ${esound_enable="NO"}

esound_flags=" &"

command="/usr/local/bin/esd"

run_rc_command "$1"
-------------------- esound --------------------



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



More information about the freebsd-ports-bugs mailing list