Date: Tue, 11 Mar 2014 11:10:01 GMT From: Geoff Garside <geoff@geoffgarside.co.uk> To: freebsd-rc@FreeBSD.org Subject: Re: conf/169047: [rc.subr] [patch] /etc/rc.subr not checking some scripts (e.g. ruby running ' thin' ) Message-ID: <201403111110.s2BBA1qO029860@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/169047; it has been noted by GNATS. From: Geoff Garside <geoff@geoffgarside.co.uk> To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/169047: [rc.subr] [patch] /etc/rc.subr not checking some scripts (e.g. ruby running 'thin') Date: Tue, 11 Mar 2014 11:09:44 +0000 --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Heres an updated copy of the patch if that helps. --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE Content-Disposition: attachment; filename=etc-rc.subr.patch.txt Content-Type: text/plain; x-unix-mode=0644; name="etc-rc.subr.patch.txt" Content-Transfer-Encoding: quoted-printable --- /etc/rc.subr.orig 2014-03-11 11:06:09.251438710 +0000 +++ /etc/rc.subr 2014-03-11 11:07:29.172157233 +0000 @@ -288,9 +288,10 @@ fi _interp=3D"$* $_procname" # cleanup = spaces, add _procname _interpbn=3D${1##*/} + _procnamebn=3D${_procname##*/} _fp_args=3D'_argv' _fp_match=3D'case "$_argv" in - ${_interp}|"${_interp} = "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*)' + ${_interp}|"${_interp} = "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*|"${_interpbn}: = ${_procnamebn}"*)' else # a normal daemon _procnamebn=3D${_procname##*/} _fp_args=3D'_arg0 _argv' --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403111110.s2BBA1qO029860>