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

2020-04-29 Thread www



hi Silvio,


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







thanks,
Byron





At 2020-04-29 21:27:46, "Silvio Knizek"  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@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/systemd-devel
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2020-04-29 Thread Silvio Knizek
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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2020-04-29 Thread 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___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel