少于 1 分钟阅读 次阅读

  • 在开机脚本中加入
    # ntp======
    (sleep 20; echo "[witheart] ntp时间同步" > /dev/kmsg; ntpdate ntp.aliyun.com 2>&1 | awk '{print "[witheart] ntpdate: " $0}' > /dev/kmsg) &
    

留下评论