Fix passing of the -b option the the RC script.

PR:		101285
Submitted by:	gabor
Approved by:	maintainer
This commit is contained in:
Erwin Lansing 2006-08-03 20:39:08 +00:00
parent ef6efc6dc9
commit e80f7f09dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169591
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= icecast2
PORTVERSION= 2.3.1
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= audio net ipv6
MASTER_SITES= http://svn.xiph.org/releases/icecast/

View file

@ -23,12 +23,12 @@ name="icecast"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/icecast"
command_args="1>/dev/null"
command_args="-b 1>/dev/null"
required_files="%%PREFIX%%/etc/$name.xml"
# read configuration and set defaults
load_rc_config "$name"
: ${icecast_enable="NO"}
: ${icecast_flags="-c ${required_files} -b"}
: ${icecast_flags="-c ${required_files}"}
run_rc_command "$1"