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