try to ping boot server as part of the sanity check
[bootcd.git] / initscripts / pl_functions
index 040a37a..62740c2 100644 (file)
@@ -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