From 1b2182f952db063cbf0adbfd3625dff6bb522c2e Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 5 Apr 2012 14:24:44 +0200 Subject: [PATCH] try to ping boot server as part of the sanity check --- initscripts/pl_functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/initscripts/pl_functions b/initscripts/pl_functions index 040a37a..62740c2 100644 --- a/initscripts/pl_functions +++ b/initscripts/pl_functions @@ -21,6 +21,10 @@ function pl_network_sanity_checks () { verbose_run_command ifconfig verbose_show_message Routing table verbose_run_command netstat -rn + BOOT_FILE=/usr/boot/boot_server + BOOT_SERVER=$(cat $BOOT_FILE) + verbose_show_message Pinging boot server "(" $BOOT_SERVER ")" from file $BOOT_FILE + verbose_run_command ping -c 4 -w 4 $BOOT_SERVER verbose_show_message Pinging google public DNS verbose_run_command ping -c 1 -w 5 8.8.8.8 # try to resolve this hostname as that's the one used for ntp -- 2.43.0