aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/tzsetup
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix support for chrooted installs.Norikatsu Shigemura2010-07-191-3/+3
| | | | | | | Approved by: imp (mentor) Notes: svn path=/head/; revision=210243
* Use literal format strings. Found by clang.Ed Maste2010-06-141-2/+2
| | | | Notes: svn path=/head/; revision=209190
* Add comment that this value is unused.Edwin Groothuis2010-06-051-1/+1
| | | | | | | | | | It is obvious that it isn't used, but both clang and Coverity talk about it. Found with: Coverity Prevent(tm) CID: 8066 Notes: svn path=/head/; revision=208831
* When there is a problem with writing, also bail out.Edwin Groothuis2010-06-051-1/+2
| | | | | | | Found with the clang checker. Notes: svn path=/head/; revision=208830
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | Notes: svn path=/head/; revision=201390
* - Add support for chrooted installs.Edwin Groothuis2009-10-212-77/+156
| | | | | | | | | - 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-202-16/+80
| | | | | | | | | | 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
* When tzsetup is run as non-root and the "CMOS clock question onEdwin Groothuis2009-10-191-1/+3
| | | | | | | | | | UTC" is answered as No, it would abort without properly ending the dialog session. MFC after: 1 week Notes: svn path=/head/; revision=198254
* Add a new options (-s) that, when specified, skips the question aboutAttilio Rao2009-07-042-24/+33
| | | | | | | | | | | | | 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
* - Replace rcsid with __FBSDID.Jung-uk Kim2008-06-032-239/+259
| | | | | | | | | - Remove paths.h and embed it in the source. - Remove stale alpha support. - Clean up compiler warnings and fix style(9) bugs. Notes: svn path=/head/; revision=179530
* Fix a crash when Arctic Ocean is selected.Jung-uk Kim2008-06-021-3/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=179497
* Sort sections.Ruslan Ermilov2005-01-181-12/+12
| | | | Notes: svn path=/head/; revision=140442
* Update wording regarding geography to match the man page and web site.Murray Stokely2004-08-101-1/+1
| | | | | | | | | | Specifically, change the second level menu title from 'Country' to 'Country or Region', since e.g. Hong Kong is not a country. Submitted by: Xin LI <delphij@frontfree.net> Notes: svn path=/head/; revision=133425
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131500
* Cosmetic fix: a message was mixed with a dialog box border line.Jimmy Olgeni2003-11-281-1/+1
| | | | | | | Approved by: re (rwatson) Notes: svn path=/head/; revision=123035
* style.Makefile(5)David E. O'Brien2003-04-041-1/+1
| | | | Notes: svn path=/head/; revision=113091
* The .Nm utilityPhilippe Charnier2002-07-141-2/+3
| | | | Notes: svn path=/head/; revision=99968
* Explicitly cast NCONTINENTS to int to silence an overflow warning.Dag-Erling Smørgrav2002-05-151-1/+1
| | | | Notes: svn path=/head/; revision=96647
* Default to UTC on sparc64 also.David E. O'Brien2002-03-061-1/+1
| | | | Notes: svn path=/head/; revision=91728
* 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
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-2/+4
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* 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
* Remove -Wall. It breaks compiling with non-gcc compilers.David E. O'Brien2001-04-051-1/+1
| | | | Notes: svn path=/head/; revision=75249
* Default the UTC question to "yes" on the Alpha.David E. O'Brien2001-04-051-3/+10
| | | | Notes: svn path=/head/; revision=75215
* This builds fine with -Wall.David E. O'Brien2001-04-051-1/+1
| | | | Notes: svn path=/head/; revision=75214
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74532
* Convert to use the <sys/queue.h> macros rather than fiddling with the queueBen Smithurst2000-12-291-8/+6
| | | | | | | | | structure internals. Reviewed by: markm Notes: svn path=/head/; revision=70486
* Use dialog_noyes() for UTC selection; uses No as default answer now.Jordan K. Hubbard2000-12-161-1/+1
| | | | Notes: svn path=/head/; revision=70092
* 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
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebyGarrett Wollman2000-10-101-0/+1
| | | | | | | <time.h>). Notes: svn path=/head/; revision=66907
* Remove unneded -lmytinfoAndrey A. Chernov2000-09-161-2/+2
| | | | Notes: svn path=/head/; revision=65911
* Back out the previous change to the queue(3) interface.Jake Burkholder2000-05-261-2/+2
| | | | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others Notes: svn path=/head/; revision=60938
* Change the way that the queue(3) structures are declared; don't assume thatJake Burkholder2000-05-231-2/+2
| | | | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd Notes: svn path=/head/; revision=60833
* Convert err() to errx(), reason is already provided. Complete thePhilippe Charnier2000-01-232-4/+14
| | | | | | | abort on allocation failure instead of deferencing NULL later. Notes: svn path=/head/; revision=56487
* Re-add the libmytinfo/libncurses stuff - removing it breaks staticChris Costello1999-09-011-2/+2
| | | | | | | | | linkage. Pointed out by: bde Notes: svn path=/head/; revision=50778
* The libraries `libmytinfo' and `libncurses' are not required by thisChris Costello1999-09-011-2/+2
| | | | | | | program. Notes: svn path=/head/; revision=50768
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50479
* - ignore the user-supplied umask, set it to 0022 by defaultRuslan Ermilov1999-08-051-5/+9
| | | | | | | | | | - install /etc/wall_cmos_clock with 0444 mode rather than 0666 - -Wall inspection PR: 12967 Notes: svn path=/head/; revision=49435
* Make UTC or local time message a little more clear.Michael Haro1999-06-231-2/+2
| | | | Notes: svn path=/head/; revision=48121
* Add a `default' feature to tzsetup for use in script-driven installationGarrett Wollman1999-02-022-20/+86
| | | | | | | | (if someone writes the other half). Also rewrite the man page in a more appropriate (formal) style. Notes: svn path=/head/; revision=43544
* Old stuff lying around a source tree:Peter Wemm1998-12-162-5/+11
| | | | | | | Create/remove /etc/wall_cmos_clock without using system() and magic paths. Notes: svn path=/head/; revision=41852
* Minor brace gymnastics so that /etc/wall_cmos_clock is reallySteve Price1998-01-101-3/+4
| | | | | | | | | | created. PR: 5473 Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp> Notes: svn path=/head/; revision=32394
* Teach tzsetup to understand blank lines in the iso3166 file.Joerg Wunsch1997-11-071-2/+2
| | | | | | | Found by: evanc@synapse.net (Evan Champion) Notes: svn path=/head/; revision=30999
* Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clockPhilippe Charnier1997-10-272-15/+34
| | | | | | | 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-223-3/+3
| | | | Notes: svn path=/head/; revision=22997