Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Dec 2017 11:52:53 +0100
From:      "Michael Ross" <gmx@ross.cx>
To:        FreeBSD <freebsd-questions@freebsd.org>, "Remy Zandwijk" <remy@luckyhands.nl>
Subject:   Re: tzsetup without menu?
Message-ID:  <op.zapxufkfg7njmm@workstation>
In-Reply-To: <E34F850F-A412-4478-B3A2-00AB8B15223E@luckyhands.nl>
References:  <776CD363-26A1-4628-B21E-2CA266609BAE@luckyhands.nl> <op.zapvf6nzg7njmm@workstation> <FAEB7D50-F137-4A8D-AE3C-6D1CF8FC98DF@luckyhands.nl> <ece77c0b-49c1-d19e-7761-b51f84807585@bytecamp.net> <E34F850F-A412-4478-B3A2-00AB8B15223E@luckyhands.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Am .12.2017, 11:38 Uhr, schrieb Remy Zandwijk <remy@luckyhands.nl>:

>>>>> 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;
>>>>>
>>>>> However, when I run the command like this, I still get the menu:
>>>>>
>>>>>   tzsetup -s /usr/share/zoneinfo/Europe/Amsterdam
>>>>>
>>
>> did you try
>>
>> # tzsetup -s Europe/Amsterdam
>>
>> So, just giving it the name of the timezone, not a path.
>
> I did not try that, but it works, thanks!
>
>
> So can we conclude that:
>
> - Specifying the location of a zoneinfo file does *not* work.
> - Specifying the zoneinfo name does work.
>
> ?
>
>
>
> -Remy
>

You're right ... the man page is wrong

Don't even need -s:

tzsetup Europe/Amsterdam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.zapxufkfg7njmm>