Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cmds] Reorganize clock.c source code, add AST hardware RTC support #1891

Merged
merged 6 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions elkscmd/man/man8/clock.8
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
clock \- Read or modify the hardware clock
.SH SYNOPSIS
.B clock
.B [\-u] {\-r,\-w,\-s,\-a,\-v}
.B [\-u] {\-r,\-w,\-s,\-A}
.SH DESCRIPTION
.BR clock
is used to read from or write to the hardware clock, and to
Expand All @@ -22,12 +22,8 @@ Write the system time to the hardware clock.
.B "\-s"
Set the system time from the hardware clock.
.TP
.B "\-s"
Set the system time from the hardware clock, adjust for systematic errors,
and then write the system time to the hardware clock.
.TP
.B "\-v"
Print version information and exit.
.B "\-A"
Assume AST clock hardware.
.SH EXIT STATUS
.TP
.I 0
Expand Down
2 changes: 1 addition & 1 deletion elkscmd/rootfs_template/bootopts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## max 511 bytes
#TZ=MDT8
#TZ=MDT6
#LOCALIP=10.0.2.16
#HOSTNAME=elks16
#ne0=12,0x300,,0x80
Expand Down
Loading
Loading