发信人: mylife(nayer)
整理人: hackerbay(2002-09-06 16:48:52), 站内信件
|
/etc/rc.conf:
---------------------------------------------------------------------------
#ntp configuration
ntpdate_enable="YES" #启动时对时
ntpdate_flags="133.100.9.2" #此处需用ip,因为DNS可能尚未启动
xntpd_enable="YES" # Run xntpd Network Time Protocol (or NO).
xntpd_program="xntpd" # path to xntpd, if you want a different one.
xntpd_flags="-c /etc/ntp.conf -p /var/run/xntpd.pid" # Flags to xntpd (if enabled).
/etc/ntp.conf:
---------------------------------------------------------------------------
server clock.nc.fukuoka-u.ac.jp
driftfile /etc/ntp.drift //临时文件
broadcast 192.168.1.255 //对外广播时间的广播地址
---- 明天会更美好 |
|