pythontr.com
aptitude install ntpdate aptitude install openntpd # squeeze-backports
DAEMON_OPTS="-s -f /etc/openntpd/ntpd.conf"
ntpdate-debian hwclock -w
#!/bin/sh ### BEGIN INIT INFO # Provides: ntpdate # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 # Default-Stop: # Short-Description: ntpdate ### END INIT INFO echo "Ntpdate update" (ntpdate-debian >/dev/null 2>&1 && hwclock -w >/dev/null 2>&1) & # USB stick kurulumu ise donanım saatini değiştirme, ustteki satiri iptal et (ntpdate-debian >/dev/null 2>&1) &
03 * * * * root /root/scripts/cron_ntpdate.sh >/dev/null 2>&1
cd /etc/init.d/ ln -s /root/scripts/cron_ntpdate.sh ntpdate update-rc.d ntpdate start 99 2 .
Yorumlar