Add hwclock(8) manpage
This commit is contained in:
parent
5bbc67aa96
commit
0d09df4645
1
Makefile
1
Makefile
@ -87,6 +87,7 @@ MAN8 = \
|
|||||||
ctrlaltdel.8 \
|
ctrlaltdel.8 \
|
||||||
getty.8 \
|
getty.8 \
|
||||||
halt.8 \
|
halt.8 \
|
||||||
|
hwclock.8 \
|
||||||
insmod.8 \
|
insmod.8 \
|
||||||
killall5.8 \
|
killall5.8 \
|
||||||
lsmod.8 \
|
lsmod.8 \
|
||||||
|
24
hwclock.8
Normal file
24
hwclock.8
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
.TH HWCLOCK 8 ubase-VERSION
|
||||||
|
.SH NAME
|
||||||
|
\fBhwclock\fR - Query or set the hardware clock
|
||||||
|
.SH SYNOPSIS
|
||||||
|
\fBhwclock\fR [\fB-rsw\fR] [\fB-u\fR] [\fIdev\fR]
|
||||||
|
.SH DESCRIPTION
|
||||||
|
\fBhwclock\fR is a tool for accessing the hardware clock. You can display
|
||||||
|
the current time, set the hardware clock from the System Time, or
|
||||||
|
set the System Time from the hardware clock. It currently only works with UTC.
|
||||||
|
You can use \fIdev\fR to specify the RTC device node absolute path.
|
||||||
|
.SH FUNCTIONS
|
||||||
|
.TP
|
||||||
|
\fB-r\fR
|
||||||
|
Read the hardware clock and print the time on stdout.
|
||||||
|
.TP
|
||||||
|
\fB-s\fR
|
||||||
|
Set the system time from the hardware clock.
|
||||||
|
.TP
|
||||||
|
\fB-w\fR
|
||||||
|
Set the hardware clock to the system time.
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
\fB-u\fR
|
||||||
|
Use UTC. This is the default and only option.
|
Loading…
Reference in New Issue
Block a user