DCFSET(8)

NAME
dcfset - manipulate system and RTC clocks by ELPROMA DCF/GPS Clocks

SYNOPSIS
dcfset [ -param [ value ] ... ]

DESCRIPTION
dcfset reads a curent date and time from the DCF Clock via serial port to set system and RTC clocks.

OPTIONS
Program reads the config file /usr/local/etc/dcf.config for default configuration. The command line options are readed in the secend step and overwrite previous default setings.

-d devname
    Set the name of serial port to comunicate with DCF Clock. devname is the standard device name; for example '/dev/ttyS0'.

-X  Set program to exclusive mode so it change system date and time without any check. Only with +s options or config file command SETSYSTEM set to YES.

[+|-]h
    Set or not set RTC (hardware clock).

[+|-]s
    Set or not set system clock.

-c  Give comunicats on console. Default is only log file /var/log/dcf.log.

-p  Print time from DCF Clock.

-v  Print program version.

FILES

/usr/local/etc/dcf.conf
    Program configuration file. For details read file.

/var/log/dcf.log
    Program log file.

SEE ALSO
hwclock(8), date(1), tzselect(8)

AUTOR CONTACT
ELPROMA Elektronika e-mail: office@elproma.com.pl