summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup/tzsetup.8
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2009-07-04 11:11:21 +0000
committerattilio <attilio@FreeBSD.org>2009-07-04 11:11:21 +0000
commitd483a0f67c6361d1cdabe323bb62563bf5354af8 (patch)
treedb4f467503013769cb9bd190529b4a7abae23d13 /usr.sbin/tzsetup/tzsetup.8
parentaf8ce5a98815085a29b45a941b5af56345470b10 (diff)
downloadFreeBSD-src-d483a0f67c6361d1cdabe323bb62563bf5354af8.zip
FreeBSD-src-d483a0f67c6361d1cdabe323bb62563bf5354af8.tar.gz
Add a new options (-s) that, when specified, skips the question about
adjusting the clock to UTC. That avoids to write on /etc/wall_cmos_clock which is useful in some cases (example: host user in a jail). Sponsored by: Sandvine Incorporated Initially submitted by: Matt Koivisto <mkoivisto at sandvine dot com> Approved by: re (kib)
Diffstat (limited to 'usr.sbin/tzsetup/tzsetup.8')
-rw-r--r--usr.sbin/tzsetup/tzsetup.87
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/tzsetup/tzsetup.8 b/usr.sbin/tzsetup/tzsetup.8
index 562744c..fd355b6 100644
--- a/usr.sbin/tzsetup/tzsetup.8
+++ b/usr.sbin/tzsetup/tzsetup.8
@@ -23,7 +23,7 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.Dd January 24, 1996
+.Dd July 4, 2009
.Dt TZSETUP 8
.Os
.Sh NAME
@@ -31,7 +31,7 @@
.Nd set local timezone
.Sh SYNOPSIS
.Nm
-.Op Fl n
+.Op Fl ns
.Op Ar default
.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 s
+Skip the initial question about adjusting the clock if not set to
+.Tn UTC .
.El
.Pp
It is possible to short-circuit the menu system by specifying a
OpenPOWER on IntegriCloud