From 9498da1c5b1a5a45f9ce6ad5bcb35a7b6846b7f4 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Sat, 11 Mar 2017 08:41:15 -0500 Subject: [PATCH] Comment out broken ntp-wait We don't have perl or ntp-wait in genesis. --- xCAT-genesis-scripts/bin/doxcat | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/xCAT-genesis-scripts/bin/doxcat b/xCAT-genesis-scripts/bin/doxcat index 0f39e1e89..fe1909f6a 100755 --- a/xCAT-genesis-scripts/bin/doxcat +++ b/xCAT-genesis-scripts/bin/doxcat @@ -266,12 +266,14 @@ ip addr show dev $bootnic|grep -v 'scope link'|grep -v 'dynamic'|grep -v inet6| logger -s -t $log_label -p local4.info "Starting ntpd..." ntpd -g -x -logger -s -t $log_label -p local4.info "Waiting for ntpd to synchronize..." -ntp-wait -n 1999 -s 1 -v -if [ $? -ne 0 ] -then - logger -s -t $log_label -p local4.info "... ntpd did not synchronize." -fi +#TODO(jjohnson2): Replace with some python to get ntp time +#and sync, don't need ntpd per se for this +#logger -s -t $log_label -p local4.info "Waiting for ntpd to synchronize..." +#ntp-wait -n 1999 -s 1 -v +#if [ $? -ne 0 ] +#then +# logger -s -t $log_label -p local4.info "... ntpd did not synchronize." +#fi if [ -e "/dev/rtc" ]; then logger -s -t $log_label -p local4.info "Attempting to sync hardware clock..."