mirror of
https://github.com/teddysun/lamp.git
synced 2026-04-13 08:18:55 +00:00
update sync time
This commit is contained in:
@@ -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..."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user