Skip to content

Commit

Permalink
Add dump978-fa version to status.json if available too
Browse files Browse the repository at this point in the history
  • Loading branch information
eric1tran committed May 27, 2021
1 parent 588a7be commit 2dd2923
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions programs/piaware/statusfile.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ proc build_status {} {
catch {set data(piaware_version) [::json::write string $::piawareVersionFull]}
set dump1090_version [query_dpkg_names_and_versions "*dump1090-fa*"]
catch {set data(dump1090_version) [::json::write string $dump1090_version]}
set dump978_version [query_dpkg_names_and_versions "*dump978-fa*"]
catch {set data(dump978_version) [::json::write string $dump978_version]}
catch {set data(cpu_temp_celcius) [::fa_sysinfo::cpu_temperature]}
catch {set data(cpu_load_percent) [::fa_sysinfo::cpu_load]}
catch {set data(system_uptime) [::fa_sysinfo::uptime]}
Expand Down

0 comments on commit 2dd2923

Please sign in to comment.