mirror of
https://github.com/fritz-smh/yi-hack
synced 2025-06-08 08:26:26 +00:00
Allow timezone config in the configuration file
This commit is contained in:
parent
5bcb9ad705
commit
463db327d2
@ -83,8 +83,7 @@ telnetd &
|
|||||||
|
|
||||||
|
|
||||||
### configure timezone
|
### configure timezone
|
||||||
# paris winter
|
echo "$(get_config TIMEZONE)" > /etc/TZ
|
||||||
echo "GMT-1" > /etc/TZ
|
|
||||||
|
|
||||||
### get time is done after wifi configuration!
|
### get time is done after wifi configuration!
|
||||||
|
|
||||||
|
@ -23,6 +23,9 @@ GATEWAY=192.168.1.254
|
|||||||
# -boff -yoff : yellow off
|
# -boff -yoff : yellow off
|
||||||
LED_WHEN_READY=-boff -bon
|
LED_WHEN_READY=-boff -bon
|
||||||
|
|
||||||
|
### Timezone
|
||||||
|
TIMEZONE=GMT-2
|
||||||
|
|
||||||
### NTP server
|
### NTP server
|
||||||
NTP_SERVER=0.uk.pool.ntp.org
|
NTP_SERVER=0.uk.pool.ntp.org
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user