2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 10:18:20 +00:00

Comment out broken ntp-wait

We don't have perl or ntp-wait in genesis.
This commit is contained in:
Jarrod Johnson
2017-03-11 08:41:15 -05:00
parent da20f5acc0
commit 9498da1c5b

View File

@@ -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..."