Spondoolies-Tech / minepeon

Miner UI
GNU General Public License v2.0
0 stars 3 forks source link

System boot should run ntpdate on start #62

Closed SyRenity closed 10 years ago

SyRenity commented 10 years ago

In order to set the miner clock to the right time.

The right syntax is: ntpdate -buv

-b Force the time to be stepped using the settimeofday() system call, rather than slewed (default) using the adjtime() system call. This option should be used when called from a startup file at boot time.

-u Direct ntpdate to use an unprivileged port or outgoing packets. This is most useful when behind a firewall that blocks incoming traffic to privileged ports, and you want to synchronise with hosts beyond the firewall.

-v Be verbose. This option will cause ntpdate's version identification string to be logged.

syounger commented 10 years ago

commit 34fe6f2 the miners do not have ntpdate, so the correct command is ntpd -qn