Skip to content

Commit

Permalink
[OpenWrt schema] Added NTP default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Mar 14, 2016
1 parent 00e784e commit dd708cb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion netjsonconfig/backends/openwrt/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@
"properties": {
"enabled": {
"type": "boolean",
"default": True,
"propertyOrder": 1,
},
"enable_server": {
"type": "boolean",
"default": False,
"propertyOrder": 2,
},
"server": {
Expand All @@ -131,7 +133,13 @@
"propertyOrder": 3,
"items": {
"type": "string"
}
},
"default": [
"0.openwrt.pool.ntp.org",
"1.openwrt.pool.ntp.org",
"2.openwrt.pool.ntp.org",
"3.openwrt.pool.ntp.org",
]
}
}
},
Expand Down

0 comments on commit dd708cb

Please sign in to comment.