aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/tzsetup/tzsetup.8
Commit message (Collapse)AuthorAgeFilesLines
* Revert "tzsetup: ask local/UTC question only on x86"Ed Maste2024-06-171-1/+0
| | | | | | | | | I am unsure if AArch64 Windows systems keep UTC or local time in the RTC by default, so keep tzsetup consistent across architectures for now. This reverts commit aa6fb1d277be47c51abc309ac9305def0fce7f9d. Reported by: Mark Millard
* tzsetup: ask local/UTC question only on x86Ed Maste2024-06-141-1/+2
| | | | | | | | | | | Storing local time in the RTC is a legacy of 1990s PCs; it's not relevant on other platforms of interest to FreeBSD. While here switch to C99 bool. Sponsored by: The FreeBSD Foundation Reviewed by: allanjude (earlier), imp (earlier) Differential Revision: https://reviews.freebsd.org/D45575
* tzsetup: add detail for -s optionEd Maste2024-06-141-1/+5
| | | | | | | | | | Skipping the UTC question via -s will not create or delete /etc/wall_cmos_clock. Reported by: Tomoaki AOKI Reviewed by: imp, allanjude, jrm Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45576
* tzsetup: symlink /etc/localtime instead of copyingEd Maste2023-11-241-1/+1
| | | | | | | | | Using a symlink means that new timezone data (installed by an errata update, say) will be usable without having to be copied again. Reviewed by: bapt, kevans, philip Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37005
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* tzsetup(8): update paths to zone tab and tzdata sourceYuri Pankov2023-04-191-28/+22
| | | | | | | | | | | tzsetup now uses zone1970.tab and zoneinfo source is located in contrib/tzdata, update the man page accordingly. While here, drop obsolete Tn macros and insert vertical breaks (mostly before Dl in examples) to improve readability. Reviewed by: pauamma_gundo.com (manpages) Differential Revision: https://reviews.freebsd.org/D39643
* Grammar: tzsetup now has more than one option.Ed Maste2012-02-291-1/+1
| | | | Notes: svn path=/head/; revision=232297
* - add missing options and arguments to program's usage()Ruslan Ermilov2011-05-201-22/+27
| | | | | | | | | | | and sync it with manpage's SYNOPSIS - generally clean up a manpage's formatting Reviewed by: edwin Notes: svn path=/head/; revision=222139
* - Add support for chrooted installs.Edwin Groothuis2009-10-211-6/+27
| | | | | | | | | - Add examples to the man-page. MFC after: 1 week Notes: svn path=/head/; revision=198350
* Instead of having to know which timezone was picked last time, youEdwin Groothuis2009-10-201-1/+6
| | | | | | | | | | now can run "tzsetup -r" which will reinstall the last choice. This data is recorded in /var/db/zoneinfo. MFC after: 1 week Notes: svn path=/head/; revision=198267
* Make the usage of the default zoneinfo file to install clearer.Edwin Groothuis2009-10-191-5/+6
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=198255
* Add a new options (-s) that, when specified, skips the question aboutAttilio Rao2009-07-041-2/+5
| | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=195339
* Sort sections.Ruslan Ermilov2005-01-181-12/+12
| | | | Notes: svn path=/head/; revision=140442
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131500
* The .Nm utilityPhilippe Charnier2002-07-141-2/+3
| | | | Notes: svn path=/head/; revision=99968
* mdoc(7) police:Ruslan Ermilov2001-08-071-1/+3
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68965
* Use Fx macro wherever possible.Ruslan Ermilov2000-11-141-1/+1
| | | | Notes: svn path=/head/; revision=68716
* Convert err() to errx(), reason is already provided. Complete thePhilippe Charnier2000-01-231-1/+1
| | | | | | | abort on allocation failure instead of deferencing NULL later. Notes: svn path=/head/; revision=56487
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Add a `default' feature to tzsetup for use in script-driven installationGarrett Wollman1999-02-021-18/+71
| | | | | | | | (if someone writes the other half). Also rewrite the man page in a more appropriate (formal) style. Notes: svn path=/head/; revision=43544
* Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clockPhilippe Charnier1997-10-271-4/+15
| | | | | | | when -n (do nothing) is used. Notes: svn path=/head/; revision=30763
* Fix a minor nit in the .Dd macro invocation so thatSteve Price1997-06-231-2/+2
| | | | | | | the revision date is displayed correctly. Notes: svn path=/head/; revision=26827
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Sort cross references.Wolfram Schneider1997-01-201-2/+2
| | | | Notes: svn path=/head/; revision=21880
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-271-3/+23
| | | | Notes: svn path=/head/; revision=17849
* Convert "time zone" to "timezone" in NAME sectionWolfram Schneider1996-02-271-2/+2
| | | | | | | Submitted by: obrien@cs.ucdavis.edu (David E. O'Brien) Notes: svn path=/head/; revision=14270
* add a manpageWolfram Schneider1996-01-241-0/+43
Notes: svn path=/head/; revision=13602