[systemd-devel] [systemd-level]: how to change default timezone in systemd code?

www ouyangxuan10 at 163.com
Thu Apr 30 02:51:57 UTC 2020




hi Silvio,


Thank you for your help. I'll try it locally.







thanks,
Byron





At 2020-04-29 21:27:46, "Silvio Knizek" <killermoehre at gmx.net> wrote:
>Am Mittwoch, den 29.04.2020, 20:31 +0800 schrieb www:
>> Dear All,
>>
>> I want to change the default timezone in systemd, when it first starts, it shows the time zone I want. How can I modify the code in systemd to implement the function?
>>
>> thanks,
>> Byron
>Hi,
>
>the default timezone is just the symlink /etc/localtime to
>../usr/share/zoneinfo/your/timezone
>There is no magic behind this. It can be easy automated and pre-
>configured.
>You can use systemd-firstboot to set the timezone, too.
>
>BR
>Silvio
>
>_______________________________________________
>systemd-devel mailing list
>systemd-devel at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200430/b256b9d0/attachment.htm>


More information about the systemd-devel mailing list