如何讓Gentoo自動對時

2007年10月31日 由 Leo2016 留言 »

首先安裝NTP

#echo "net-misc/ntp caps" >> /etc/portage/package.use
#emerge ntp
#nano -w /etc/crontab 加入下面這條
*/10  *  * * *  root    /usr/sbin/ntpdate time.stdtime.gov.tw; /sbin/hwclock -w
完成10分鐘自動對時

Related Posts with Thumbnails

Popularity: 1% [?]

贊助廠商
2007/10/31

本站採用CC授權不歡迎全文轉載,如需轉載(部份)、引用文章,請務必附上作者及來源處。

發表迴響