1*e14ddd1fSDevin Teske# Copyright (c) 2011-2013 Devin Teske 2641a6cfbSDevin Teske# All Rights Reserved. 3641a6cfbSDevin Teske# 4641a6cfbSDevin Teske# Redistribution and use in source and binary forms, with or without 5641a6cfbSDevin Teske# modification, are permitted provided that the following conditions 6641a6cfbSDevin Teske# are met: 7641a6cfbSDevin Teske# 1. Redistributions of source code must retain the above copyright 8641a6cfbSDevin Teske# notice, this list of conditions and the following disclaimer. 9641a6cfbSDevin Teske# 2. Redistributions in binary form must reproduce the above copyright 10641a6cfbSDevin Teske# notice, this list of conditions and the following disclaimer in the 11641a6cfbSDevin Teske# documentation and/or other materials provided with the distribution. 12641a6cfbSDevin Teske# 13641a6cfbSDevin Teske# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14641a6cfbSDevin Teske# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO, THE 15641a6cfbSDevin Teske# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16641a6cfbSDevin Teske# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17641a6cfbSDevin Teske# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18641a6cfbSDevin Teske# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19641a6cfbSDevin Teske# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20641a6cfbSDevin Teske# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21641a6cfbSDevin Teske# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22641a6cfbSDevin Teske# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23641a6cfbSDevin Teske# SUCH DAMAGE. 24641a6cfbSDevin Teske# 25641a6cfbSDevin Teske# $FreeBSD$ 26641a6cfbSDevin Teske 27641a6cfbSDevin TeskeUsage: bsdconfig @PROGRAM_NAME@ [-ehnrSsvX] [-C chroot_dir] [zinfo_file | zinfo_name] 28641a6cfbSDevin TeskeOPTIONS: 29*e14ddd1fSDevin Teske -d Provide lots of debugging info on standard-out when running. 30*e14ddd1fSDevin Teske -D file Send debugging info to file. If file begins with a plus-sign 31*e14ddd1fSDevin Teske debug info is sent to both standard-out and file (minus the 32*e14ddd1fSDevin Teske leading plus). 33641a6cfbSDevin Teske -e Only return success on exit if user selects a timezone AND 34641a6cfbSDevin Teske the selected timezone was successfully installed. By default 35641a6cfbSDevin Teske (without this flag), success is always returned unless an 36641a6cfbSDevin Teske error has occurred. 37*e14ddd1fSDevin Teske -h Print this usage statement and exit. 38641a6cfbSDevin Teske -n Do not create or copy files. 39641a6cfbSDevin Teske -r Reinstall the zoneinfo file installed last time. The name is 40641a6cfbSDevin Teske obtained from /var/db/zoneinfo. 41641a6cfbSDevin Teske -S Secure X11 mode (implies `-X'). As root, always prompt-for 42641a6cfbSDevin Teske and validate sudo(8) username/password before starting. 43641a6cfbSDevin Teske -s Skip the initial question about adjusting the clock if 44641a6cfbSDevin Teske not set to UTC. 45641a6cfbSDevin Teske -v Verbose. Enable extra output when installing the zone file. 46641a6cfbSDevin Teske -X Enable the use of Xdialog(1) instead of dialog(1). 47