summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2013-01-10 11:08:22 +0000
committersmh <smh@FreeBSD.org>2013-01-10 11:08:22 +0000
commit5f83c0049f20fb0b22907364a244ad39ac4c7ce4 (patch)
treef902c66b1ca4e966fa33c6be951a15abed91e16c /etc
parent381e55ca2527790b48eb43cf8d308b8e82fc1522 (diff)
downloadFreeBSD-src-5f83c0049f20fb0b22907364a244ad39ac4c7ce4.zip
FreeBSD-src-5f83c0049f20fb0b22907364a244ad39ac4c7ce4.tar.gz
Allow perl scripts to be used in rc.d scripts
PR: conf/117027 Reviewed by: pjd (mentor) Approved by: hrs MFC after: 2 weeks
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 053f89a..9bff68b 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -290,7 +290,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'
OpenPOWER on IntegriCloud