1 Star 0 Fork 0

dddachui/openeuler-init

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deploy-chronyc.sh 180 Bytes
一键复制 编辑 原始数据 按行查看 历史
dddachui 提交于 2023-07-23 16:37 +08:00 . rename deploy_chronyc.sh to deploy-chronyc.sh
#!/bin/bash
sed -i 's/pool.ntp.org/ntp.aliyun.com/g' /etc/chrony.conf
systemctl restart chronyd
sleep 5
echo "please wait 5 seconds..."
chronyc tracking
chronyc sources
hwclock -w
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/wangdachui2019/openeuler-init.git
git@gitee.com:wangdachui2019/openeuler-init.git
wangdachui2019
openeuler-init
openeuler-init
master

搜索帮助