init.d script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux