From owner-freebsd-questions@freebsd.org Mon Dec 4 10:25:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28004DF71FC for ; Mon, 4 Dec 2017 10:25:02 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5DE71F25 for ; Mon, 4 Dec 2017 10:25:01 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from [90.187.37.173] (helo=workstation) by www81.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-GCM-SHA256:128) (Exim 4.85_2) (envelope-from ) id 1eLnYZ-0005va-JB; Mon, 04 Dec 2017 11:00:59 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: FreeBSD , "Remy Zandwijk" Subject: Re: tzsetup without menu? References: <776CD363-26A1-4628-B21E-2CA266609BAE@luckyhands.nl> Date: Mon, 04 Dec 2017 11:01:04 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <776CD363-26A1-4628-B21E-2CA266609BAE@luckyhands.nl> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.99.2/24098/Mon Dec 4 02:09:42 2017) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 10:25:02 -0000 Am .12.2017, 10:32 Uhr, schrieb Remy Zandwijk : > The tzsetup manual page on 11.1-RELEASE-p4 says: > > It is possible to short-circuit the menu system by specifying the > location of a zoneinfo_file or the name of the zoneinfo_name on the > command line; this is intended mainly for pre-configured installation > scripts or people who know which zoneinfo they want to install. > > > However, when I run the command like this, I still get the menu: > > tzsetup -s /usr/share/zoneinfo/Europe/Amsterdam > > > > Am I doing it wrong or does the tzsetup command not act like documented? > > > -Remy > I think you could just copy the zonefile # md5 /usr/share/zoneinfo/Europe/Berlin /etc/localtime MD5 (/usr/share/zoneinfo/Europe/Berlin) = 4790e83465681cefbf852aed265354bf MD5 (/etc/localtime) = 4790e83465681cefbf852aed265354bf thus cp /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime echo "Europe/Amsterdam" > /var/db/zoneinfo