Re: where are /usr/local/etc/rc.d init scripts run from?

2006-12-24 Thread Michael P. Soulier
On 12/23/06, Kevin Brunelle [EMAIL PROTECTED] wrote: I was unintentionally confusing in my answer. Sorry about that. If your startup script is in the old style, it will be handled by /etc/rc.d/localpkg when that is called during the boot process. That is ONLY if it's the old style. I should

where are /usr/local/etc/rc.d init scripts run from?

2006-12-23 Thread Michael P. Soulier
I was looking in /etc/rc, and it's obvious to see where the /etc/rc.d scripts are run from. skip=-s nostart [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] skip=$skip -s nojail files=`rcorder ${skip} /etc/rc.d/* 2/dev/null` for _rc_elem in ${files}; do run_rc_script ${_rc_elem}

Re: where are /usr/local/etc/rc.d init scripts run from?

2006-12-23 Thread Andrew Pantyukhin
On 12/24/06, Michael P. Soulier [EMAIL PROTECTED] wrote: I was looking in /etc/rc, and it's obvious to see where the /etc/rc.d scripts are run from. skip=-s nostart [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] skip=$skip -s nojail files=`rcorder ${skip} /etc/rc.d/* 2/dev/null` for

Re: where are /usr/local/etc/rc.d init scripts run from?

2006-12-23 Thread Kevin Brunelle
On Saturday 23 December 2006 18:15, Michael P. Soulier wrote: I was looking in /etc/rc, and it's obvious to see where the /etc/rc.d scripts are run from. skip=-s nostart [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] skip=$skip -s nojail files=`rcorder ${skip} /etc/rc.d/* 2/dev/null`

Re: where are /usr/local/etc/rc.d init scripts run from?

2006-12-23 Thread Michael P. Soulier
On 12/23/06, Kevin Brunelle [EMAIL PROTECTED] wrote: They are called from /etc/rc.d/localpkg if they are the old style. The directories searched are defined with local_startup (which defaults to: /usr/local/etc/rc.d /usr/X11R6/etc/rc.d). Ok, looking in localpkg, I see this. pkg_start() {

Re: where are /usr/local/etc/rc.d init scripts run from?

2006-12-23 Thread Kevin Brunelle
So rcorder is not used for the rc scripts in /usr/local/etc/rc.d? That explains much, since I have a runsvstat.sh script needed to start runit, and a script to start one of its services starts with an 'm' and is executing first, which I don't want. Why is rcorder not used on these files as