mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 15:26:43 +01:00
Allow perl scripts to be used in rc.d scripts
PR: conf/117027 Reviewed by: pjd (mentor) Approved by: hrs MFC after: 2 weeks
This commit is contained in:
parent
bdf43bb5c3
commit
7ef204a2a9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245250
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user