1*641a6cfbSDevin Teske# Copyright (c) 2011-2012 Devin Teske 2*641a6cfbSDevin Teske# All Rights Reserved. 3*641a6cfbSDevin Teske# 4*641a6cfbSDevin Teske# Redistribution and use in source and binary forms, with or without 5*641a6cfbSDevin Teske# modification, are permitted provided that the following conditions 6*641a6cfbSDevin Teske# are met: 7*641a6cfbSDevin Teske# 1. Redistributions of source code must retain the above copyright 8*641a6cfbSDevin Teske# notice, this list of conditions and the following disclaimer. 9*641a6cfbSDevin Teske# 2. Redistributions in binary form must reproduce the above copyright 10*641a6cfbSDevin Teske# notice, this list of conditions and the following disclaimer in the 11*641a6cfbSDevin Teske# documentation and/or other materials provided with the distribution. 12*641a6cfbSDevin Teske# 13*641a6cfbSDevin Teske# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14*641a6cfbSDevin Teske# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO, THE 15*641a6cfbSDevin Teske# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16*641a6cfbSDevin Teske# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17*641a6cfbSDevin Teske# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18*641a6cfbSDevin Teske# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19*641a6cfbSDevin Teske# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20*641a6cfbSDevin Teske# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21*641a6cfbSDevin Teske# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22*641a6cfbSDevin Teske# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23*641a6cfbSDevin Teske# SUCH DAMAGE. 24*641a6cfbSDevin Teske# 25*641a6cfbSDevin Teske# $FreeBSD$ 26*641a6cfbSDevin Teske 27*641a6cfbSDevin TeskeUsage: bsdconfig @PROGRAM_NAME@ [-ehnrSsvX] [-C chroot_dir] [zinfo_file | zinfo_name] 28*641a6cfbSDevin TeskeOPTIONS: 29*641a6cfbSDevin Teske -h Print usage statement and exit. 30*641a6cfbSDevin Teske -e Only return success on exit if user selects a timezone AND 31*641a6cfbSDevin Teske the selected timezone was successfully installed. By default 32*641a6cfbSDevin Teske (without this flag), success is always returned unless an 33*641a6cfbSDevin Teske error has occurred. 34*641a6cfbSDevin Teske -n Do not create or copy files. 35*641a6cfbSDevin Teske -r Reinstall the zoneinfo file installed last time. The name is 36*641a6cfbSDevin Teske obtained from /var/db/zoneinfo. 37*641a6cfbSDevin Teske -S Secure X11 mode (implies `-X'). As root, always prompt-for 38*641a6cfbSDevin Teske and validate sudo(8) username/password before starting. 39*641a6cfbSDevin Teske -s Skip the initial question about adjusting the clock if 40*641a6cfbSDevin Teske not set to UTC. 41*641a6cfbSDevin Teske -v Verbose. Enable extra output when installing the zone file. 42*641a6cfbSDevin Teske -X Enable the use of Xdialog(1) instead of dialog(1). 43