init.d script

Greg Bradner gregb at rhythm.com
Fri May 7 15:54:32 UTC 2004


Within an init.d startup script, I would like to check if a host is up
before continuing.
ex:
in the ntpd script, if ntp.server.com is not pingable, exit - instead of
waiting for the long timeout period.

Any suggestions?


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gregb at rhythm.com







More information about the redhat-list mailing list