ucentral: rebrand

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2020-11-27 08:43:02 +01:00
parent 89e079afeb
commit bbae94c564
18 changed files with 17 additions and 17 deletions

View File

@@ -3,9 +3,9 @@
import json
merge = {
"$id": "https://openwrt.org/usync.schema.json",
"$id": "https://openwrt.org/ucentral.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "OpenWrt uSync schema",
"description": "OpenWrt uCentral schema",
"type": "object",
"properties": {
"uuid": { "type": "integer" }
@@ -23,10 +23,10 @@ def schema_merge(name, path):
def schema_write():
try:
with open(f"usync.schema.json", 'w') as outfile:
with open(f"ucentral.schema.json", 'w') as outfile:
json.dump(merge, outfile, indent=True)
except:
print("failed to write usync.schema.json")
print("failed to write ucentral.schema.json")
schema_merge("network", "network.schema")
schema_merge("phy", "wifi-phy.schema")