On 7/18/05, Dylan <dylan@dylan.me.uk> wrote:
Dear List,
I use NIS to distribute /etc/hosts for lan hostname lookup. This works fine for all but one machine. For some reason, ypbind is not running on that machine until after xntpd tries to resolve my gateway's hostname to get initial time sync.
Can I force /etc/init.d/xntpd to wait until ypbind is running? How?
Cheers
The order of the init scripts running is controlled by the links in /etc/init.d/rc3.d, etc. They are run in alphabetical order. So S10* is run before S20*, etc. If you need to re-order some scripts, just rename them appropriately. (Be sure not to change the first letter, the S is for Start and K is for Kill. Only S* and K* links get run at startup/shutdown. If you do any renaming, I would go into all of the rc?.d directories and do the same renames. FYI: I don't know how maintainable this solution is, so maybe someone knows a more maintainable solution. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century