init.d script

Greg Bradner gregb at rhythm.com
Wed Apr 28 15:54:15 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