# How to keep timezone change after reboot

**URL:** <https://mangoh.discourse.group/t/how-to-keep-timezone-change-after-reboot/9865>\
**Category:** Uncategorized\
**Created:** [February 11, 2022, 8:10am UTC](https://mangoh.discourse.group/t/how-to-keep-timezone-change-after-reboot/9865 "2022-02-11T08:10:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [February 11, 2022, 8:10am UTC](https://mangoh.discourse.group/t/how-to-keep-timezone-change-after-reboot/9865/1 "2022-02-11T08:10:36Z")

</div>

I tried changing the system timezone from +8 to +9  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/3/3cd40afe7868264cf8e551bf88262bff74c428c5.png)

The settings are fine before rebooting  
But after rebooting the time zone setting is back to +8, how can I keep this setting?

the same question as below:

> [@How to ensure correct timezone?](https://mangoh.discourse.group/t/how-to-ensure-correct-timezone/2768):
>
> Hi I’m using a wp7702 and I’m aware it does not have an RTC for some reason. My time is mostly correct but sometimes it’s like a day out for example right now its reading “Thu Jul 11 21:13:43 2019” but my time zone in New Zealand it is Fri Jul 12 9:16:xx 2019 is there a way to fix the timezone for this as the time is pretty important for what I am trying to achieve. Its even more annoying that it won’t stay in a constant timezone. Thank you

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 11, 2022, 8:17am UTC](https://mangoh.discourse.group/t/how-to-keep-timezone-change-after-reboot/9865/2 "2022-02-11T08:17:21Z")

</div>

how do you change the system timezone from +8 to +9?

You can modify the init script to update the system timezone

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [February 11, 2022, 8:29am UTC](https://mangoh.discourse.group/t/how-to-keep-timezone-change-after-reboot/9865/3 "2022-02-11T08:29:41Z")

</div>

> [@jyijyi](#):
>
> init script

Can you tell me which one “init script” to use to make the change?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 11, 2022, 8:36am UTC](https://mangoh.discourse.group/t/how-to-keep-timezone-change-after-reboot/9865/4 "2022-02-11T08:36:21Z")

</div>

you can see here for the startlegato.sh:

> **[Adding scripts to run at startup](https://forum.legato.io/t/adding-scripts-to-run-at-startup/2412/6)**
>
> Hi JyiJyi, I appreciate your previous reply to my post, but I attempted to make the changes that you recommended and am still unable to launch the script on boot. I have included a screenshot of several simple shell commands that I entered into...

Another option is to build a unsandboxed app to run a script to change the timezone when power on:

> **[Invoking shell scripts from Legato app](https://forum.legato.io/t/invoking-shell-scripts-from-legato-app/5575/4)**
>
> I don’t see problem on WP76 FW R13. You can use my hello6.tar.gz. hello6.tar.gz (314.7 KB) root@swi-mdm9x28-wp:~# chmod 777 /tmp/test.sh root@swi-mdm9x28-wp:~# /tmp/test.sh root@swi-mdm9x28-wp:~# ls /tmp/123.txt /tmp/123.txt ...

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [February 11, 2022, 8:41am UTC](https://mangoh.discourse.group/t/how-to-keep-timezone-change-after-reboot/9865/5 "2022-02-11T08:41:23Z")

</div>

Thanks, I got it!  
so it means that I need to update the time zone every time I boot up the system, right?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 11, 2022, 9:10am UTC](https://mangoh.discourse.group/t/how-to-keep-timezone-change-after-reboot/9865/6 "2022-02-11T09:10:30Z")

</div>

this can be a good workaround
