tzsetup without menu?

Michael Ross gmx at ross.cx
Mon Dec 4 10:52:47 UTC 2017


Am .12.2017, 11:38 Uhr, schrieb Remy Zandwijk <remy at 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


More information about the freebsd-questions mailing list