Configuration now uses JSON. Fixed command line parsing

This commit is contained in:
ftc
2021-01-06 17:54:56 +03:00
parent 5bbfd1ea3d
commit b9a1084d7a
7 changed files with 47 additions and 41 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"Port": 4500,
"Units": [
{
"Name": "CPU",
"Type": "Sensors",
"BaseAddress": 1,
"Multiplier": 100,
"Cores": 2
},
{
"Name": "RAID",
"Type": "MDStat",
"BaseAddress": 3
}
]
}