Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openwrt] Remove automatic timezone #87

Closed
nemesifier opened this issue Jun 26, 2017 · 0 comments
Closed

[openwrt] Remove automatic timezone #87

nemesifier opened this issue Jun 26, 2017 · 0 comments

Comments

@nemesifier
Copy link
Member

At the moment the following configuration dictionary:

OpenWrt({'general': {'hostname': 'test'}})

generates the following output:

package system

config system 'system'
	option hostname 'test'
	option timezone 'UTC'
	option zonename 'UTC'

Since timezone on OpenWRT defaults to UTC even if not specified, there's no need to automatically add timezone and zonename if the NetJSON timezone is not specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant