svn commit: r251418 - stable/9/etc

Steven Hartland smh at FreeBSD.org
Wed Jun 5 11:59:36 UTC 2013


Author: smh
Date: Wed Jun  5 11:59:36 2013
New Revision: 251418
URL: http://svnweb.freebsd.org/changeset/base/251418

Log:
  MFC r245250:
  Allow perl scripts to be used in rc.d scripts
  
  PR:		conf/117027

Modified:
  stable/9/etc/rc.subr
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/rc.subr
==============================================================================
--- stable/9/etc/rc.subr	Wed Jun  5 11:55:35 2013	(r251417)
+++ stable/9/etc/rc.subr	Wed Jun  5 11:59:36 2013	(r251418)
@@ -331,7 +331,7 @@ _find_processes()
 		_interpbn=${1##*/}
 		_fp_args='_argv'
 		_fp_match='case "$_argv" in
-		    ${_interp}|"${_interp} "*|"${_interpbn}: ${_procname}"*)'
+		    ${_interp}|"${_interp} "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*)'
 	else					# a normal daemon
 		_procnamebn=${_procname##*/}
 		_fp_args='_arg0 _argv'


More information about the svn-src-stable-9 mailing list