View | Details | Raw Unified | Return to bug 169047 | Differences between
and this patch

Collapse All | Expand All

(-)rc.subr (-2 / +2 lines)
Lines 306-311 Link Here
306
	_procname=$1
306
	_procname=$1
307
	_interpreter=$2
307
	_interpreter=$2
308
	_psargs=$3
308
	_psargs=$3
309
	_procnamebn=${_procname##*/}
309
310
310
	_pref=
311
	_pref=
311
	if [ $_interpreter != "." ]; then	# an interpreted script
312
	if [ $_interpreter != "." ]; then	# an interpreted script
Lines 338-346 Link Here
338
		_interpbn=${1##*/}
339
		_interpbn=${1##*/}
339
		_fp_args='_argv'
340
		_fp_args='_argv'
340
		_fp_match='case "$_argv" in
341
		_fp_match='case "$_argv" in
341
		    ${_interp}|"${_interp} "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*)'
342
		    ${_interp}|"${_interp} "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*|"${_interpbn}: ${_procnamebn}"*)'
342
	else					# a normal daemon
343
	else					# a normal daemon
343
		_procnamebn=${_procname##*/}
344
		_fp_args='_arg0 _argv'
344
		_fp_args='_arg0 _argv'
345
		_fp_match='case "$_arg0" in
345
		_fp_match='case "$_arg0" in
346
		    $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})"|"[${_procnamebn}]")'
346
		    $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})"|"[${_procnamebn}]")'

Return to bug 169047