update sync time

This commit is contained in:
Teddysun
2016-08-08 22:59:05 +09:00
parent acd4998e88
commit 22cd3417e7

View File

@@ -413,6 +413,7 @@ sync_time(){
fi
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ntpdate -v time.nist.gov
/sbin/hwclock -w
echo "Sync time completed..."
}