infofarmer at gmail.com
Tue May 16 11:36:30 UTC 2006
On 5/15/06, Larry Rosenman <ler at lerctr.org> wrote:
> I just converted one of my ports to the new USE_RC_SUBR= convention, and
> after it was committed that I screwed up, and installed my own version of
> the rc.d/ script
> as well as the one USE_RC_SUBR installed.
> In trying to fix it, I have a couple of questions:
> 1) is there an (automated?) way to get which version (exilog or exilog.sh)
> so I can stop the process on uninstall?
You can use an asterisk (but be careful) or something like
if [ -x %D/etc/rc.d/script ] ; then %D/etc/rc.d/script forcestop ; fi
if [ -x %D/etc/rc.d/script.sh ] ; then %D/etc/rc.d/script.sh forcestop ; fi
More information about the freebsd-ports