What about simply putting a number in front of the script, I didn't check but am really certain that we start scripts something like this:
cd $LOCALBASE/etc/rc.d for i in *.sh <--- here you get an alphabetically sort order ! do if [ -x $i ]; then /bin/sh $i start fi done So this would be sufficient to start slapd before slurpd:
/usr/local/etc/rc.d/001.slapd.sh /usr/local/etc/rc.d/002.slurpd.sh
or alternatively
/usr/local/etc/rc.d/openldap-01-slapd.sh /usr/local/etc/rc.d/openldap-02-slurpd.sh
We already have things like:
000.mysql-client.sh 000.pkgtools.sh 000.wine.sh 010.pgsql.sh
Andreas ///
That works fine if you are only concerned about startup ordering for things in /usr/local/etc/rc.d. Although it would be better if we could use rcorder style dependency ordering here as well.
But it doesn't help if you need a port to start earlier than something in the base. This could happen if you've replaced sendmail with postfix, and use maps from a remote database (openldap, postgresql, etc). I'm sure there are other examples as well (nss_ldap, etc).
Richard Coleman [EMAIL PROTECTED]
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"