|
@@ -145,6 +145,7 @@ struct
|
|
val autoupdater = JU.asBool (JU.lookupField (JU.lookupField software "autoupdater") "enabled")
|
|
val autoupdater = JU.asBool (JU.lookupField (JU.lookupField software "autoupdater") "enabled")
|
|
val branch = JU.asString (JU.lookupField (JU.lookupField software "autoupdater") "branch")
|
|
val branch = JU.asString (JU.lookupField (JU.lookupField software "autoupdater") "branch")
|
|
val fastd = JU.asBool (JU.lookupField (JU.lookupField software "fastd") "enabled")
|
|
val fastd = JU.asBool (JU.lookupField (JU.lookupField software "fastd") "enabled")
|
|
|
|
+ handle (JU.FieldNotFound _) => false
|
|
val firmware = JU.asString (JU.lookupField (JU.lookupField software "firmware") "release")
|
|
val firmware = JU.asString (JU.lookupField (JU.lookupField software "firmware") "release")
|
|
val base = JU.asString (JU.lookupField (JU.lookupField software "firmware") "base")
|
|
val base = JU.asString (JU.lookupField (JU.lookupField software "firmware") "base")
|
|
val model = JU.asString (JU.lookupField (JU.lookupField nodeinfo "hardware") "model")
|
|
val model = JU.asString (JU.lookupField (JU.lookupField nodeinfo "hardware") "model")
|