svn commit: r251413 - stable/8/etc
Steven Hartland
smh at FreeBSD.org
Wed Jun 5 11:37:01 UTC 2013
Author: smh
Date: Wed Jun 5 11:37:00 2013
New Revision: 251413
URL: http://svnweb.freebsd.org/changeset/base/251413
Log:
MFC r245250:
Allow perl scripts to be used in rc.d scripts
Modified:
stable/8/etc/rc.subr
Directory Properties:
stable/8/etc/ (props changed)
Modified: stable/8/etc/rc.subr
==============================================================================
--- stable/8/etc/rc.subr Wed Jun 5 11:28:55 2013 (r251412)
+++ stable/8/etc/rc.subr Wed Jun 5 11:37:00 2013 (r251413)
@@ -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-all
mailing list