Fix what looks like a copy-paste-o that originated in the same script:

command=foo >/dev/null 2>&1
	|
	v
command=foo
command_args='>/dev/null 2>&1'

This is clearly what should have been done, for several reasons.

No PORTREVISION bump because the old version simply ignored everything
after the space, and does not seem to have done any harm. However
it's good to clean these up so that similar errors aren't pasted into
a new script where they might actually matter.
This commit is contained in:
Doug Barton 2012-08-06 00:28:43 +00:00
parent 9aac569eaa
commit dae082c958
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302142
6 changed files with 12 additions and 6 deletions

View file

@ -15,7 +15,8 @@
name="bindgraph"
rcvar=bindgraph_enable
command=%%PREFIX%%/sbin/${name}.pl > /dev/null 2>&1
command=%%PREFIX%%/sbin/${name}.pl
command_args='> /dev/null 2>&1'
command_interpreter=/usr/bin/perl
stop_postcmd=stop_postcmd

View file

@ -16,7 +16,8 @@
name=couriergraph
rcvar=couriergraph_enable
command=%%PREFIX%%/sbin/couriergraph.pl > /dev/null 2>&1
command=%%PREFIX%%/sbin/couriergraph.pl
command_args='> /dev/null 2>&1'
command_interpreter=/usr/bin/perl
stop_postcmd=stop_postcmd

View file

@ -15,7 +15,8 @@
name="mailgraph"
rcvar=mailgraph_enable
command=%%PREFIX%%/sbin/${name}.pl > /dev/null 2>&1
command=%%PREFIX%%/sbin/${name}.pl
command_args='> /dev/null 2>&1'
command_interpreter=/usr/bin/perl
stop_postcmd=stop_postcmd

View file

@ -15,7 +15,8 @@
name="ovs"
rcvar=ovs_enable
command=%%PREFIX%%/sbin/${name}.pl > /dev/null 2>&1
command=%%PREFIX%%/sbin/${name}.pl
command_args='> /dev/null 2>&1'
command_interpreter=/usr/bin/perl
stop_postcmd=stop_postcmd

View file

@ -19,7 +19,8 @@
name=amavisd
rcvar=amavisd_enable
command=%%PREFIX%%/sbin/amavisd > /dev/null 2>&1
command=%%PREFIX%%/sbin/amavisd
command_args='> /dev/null 2>&1'
required_files=%%PREFIX%%/etc/amavisd.conf
extra_commands="reload"

View file

@ -15,7 +15,8 @@
name=xinetd
rcvar=xinetd_enable
command=%%PREFIX%%/sbin/xinetd > /dev/null 2>&1
command=%%PREFIX%%/sbin/xinetd
command_args='> /dev/null 2>&1'
pidfile=/var/run/xinetd.pid
xinetd_enable=${xinetd_enable:-"NO"}