Newer
Older
source /root/envsetup/conf.sh
NTP_SERVER="$NTP_SERVER1"
if [ "${NTP_SERVER}" = "" ]; then
NTP_SERVER="ntp.ubuntu.com"
fi
echo "Testing NTP server: ${NTP_SERVER}"
service ntp stop
source /root/envsetup/conf.sh
NTP_SERVER="$NTP_SERVER1"
if [ "${NTP_SERVER}" = "" ]; then
NTP_SERVER="ntp.ubuntu.com"
fi
echo "Testing NTP server: ${NTP_SERVER}"
service ntp stop