Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2017 11:09:12 +0100
From:      Remy Zandwijk <remy@luckyhands.nl>
To:        Michael Ross <gmx@ross.cx>, FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: tzsetup without menu?
Message-ID:  <FAEB7D50-F137-4A8D-AE3C-6D1CF8FC98DF@luckyhands.nl>
In-Reply-To: <op.zapvf6nzg7njmm@workstation>
References:  <776CD363-26A1-4628-B21E-2CA266609BAE@luckyhands.nl> <op.zapvf6nzg7njmm@workstation>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_D10B2D4C-F885-4E33-97AE-82F1A78C92E8
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

>> 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

Thanks, that seems to work(around).

But still: either the documentation is wrong or the command has a bug.

-Remy


--Apple-Mail=_D10B2D4C-F885-4E33-97AE-82F1A78C92E8
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJB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