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@xxxxxxxxxx
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list