summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup/tzsetup.8
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2009-10-20 06:54:31 +0000
committeredwin <edwin@FreeBSD.org>2009-10-20 06:54:31 +0000
commit3a5cbdb0c12208ac8581427eef1d04c9f42a0e35 (patch)
tree57d8a1f063f5463a44e523c74eb1f0f993355612 /usr.sbin/tzsetup/tzsetup.8
parenta32c720694c8ff8fef594f15e87e64eba6e77852 (diff)
downloadFreeBSD-src-3a5cbdb0c12208ac8581427eef1d04c9f42a0e35.zip
FreeBSD-src-3a5cbdb0c12208ac8581427eef1d04c9f42a0e35.tar.gz
Instead of having to know which timezone was picked last time, you
now can run "tzsetup -r" which will reinstall the last choice. This data is recorded in /var/db/zoneinfo. MFC after: 1 week
Diffstat (limited to 'usr.sbin/tzsetup/tzsetup.8')
-rw-r--r--usr.sbin/tzsetup/tzsetup.87
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/tzsetup/tzsetup.8 b/usr.sbin/tzsetup/tzsetup.8
index 66afdd4..48ca8e8 100644
--- a/usr.sbin/tzsetup/tzsetup.8
+++ b/usr.sbin/tzsetup/tzsetup.8
@@ -31,7 +31,7 @@
.Nd set local timezone
.Sh SYNOPSIS
.Nm
-.Op Fl ns
+.Op Fl nrs
.Op Ar zoneinfo file
.Sh DESCRIPTION
The
@@ -51,6 +51,9 @@ The following option is available:
.Bl -tag -offset indent -width Fl
.It Fl n
Do not create or copy files.
+.It Fl r
+Reinstall the zoneinfo file installed last time. The name is obtained from
+.Pa /var/db/zoneinfo .
.It Fl s
Skip the initial question about adjusting the clock if not set to
.Tn UTC .
@@ -106,6 +109,8 @@ mapping of
directory for zoneinfo files
.It Pa /usr/share/zoneinfo/zone.tab
mapping of timezone file to country and location
+.It Pa /var/db/zoneinfo
+saved name of the timezone file installed last.
.El
.Sh SEE ALSO
.Xr date 1 ,
OpenPOWER on IntegriCloud