Skip to content

Commit

Permalink
updated unsupported motherboard message in 45Drives-motherboard module
Browse files Browse the repository at this point in the history
  • Loading branch information
markdhooper committed Aug 23, 2021
1 parent a782dbe commit b326c17
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## cockpit-45drives-hardware 2.0.1-3
## cockpit-45drives-hardware 2.0.1-4

* updated helper scripts to handle virtual machine hardware configurations
* updated unsupported motherboard message in 45Drives-motherboard module
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "cockpit-45drives-hardware",
"prerelease": false,
"version": "2.0.1",
"buildVersion": "3",
"buildVersion": "4",
"author": "Mark Hooper <[email protected]>",
"url": "https://github.com/45Drives/cockpit-hardware",
"category": "utils",
Expand Down Expand Up @@ -63,7 +63,7 @@
"changelog": {
"urgency": "medium",
"version": "2.0.1",
"buildVersion": "3",
"buildVersion": "4",
"ignore": [],
"date": null,
"packager": "Mark Hooper <[email protected]>",
Expand Down
2 changes: 2 additions & 0 deletions packaging/el7/main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ make DESTDIR=%{buildroot} install
/usr/share/cockpit/45drives-system/*

%changelog
* Mon Aug 23 2021 Mark Hooper <[email protected]> 2.0.1-4
- updated unsupported motherboard message in 45Drives-motherboard module
* Mon Aug 23 2021 Mark Hooper <[email protected]> 2.0.1-3
- updated helper scripts to handle virtual machine hardware configurations
* Mon Aug 23 2021 Mark Hooper <[email protected]> 2.0.1-2
Expand Down
2 changes: 2 additions & 0 deletions packaging/el8/main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ make DESTDIR=%{buildroot} install
/usr/share/cockpit/45drives-system/*

%changelog
* Mon Aug 23 2021 Mark Hooper <[email protected]> 2.0.1-4
- updated unsupported motherboard message in 45Drives-motherboard module
* Mon Aug 23 2021 Mark Hooper <[email protected]> 2.0.1-3
- updated helper scripts to handle virtual machine hardware configurations
* Mon Aug 23 2021 Mark Hooper <[email protected]> 2.0.1-2
Expand Down
6 changes: 6 additions & 0 deletions packaging/focal/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
cockpit-45drives-hardware (2.0.1-4focal) focal; urgency=medium

* updated unsupported motherboard message in 45Drives-motherboard module

-- Mark Hooper <[email protected]> Mon, 23 Aug 2021 12:51:06 -0300

cockpit-45drives-hardware (2.0.1-3focal) focal; urgency=medium

* updated helper scripts to handle virtual machine hardware configurations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,9 @@ async function startMoboApp(){
}
}
if(!mobo_supported){
if(String(mobo_info["Motherboard Info"][0]["Motherboard"][0]["Product Name"]) == "undefined"){
if( String(mobo_info["Motherboard Info"][0]["Motherboard"][0]["Product Name"]) == "undefined" ||
String(mobo_info["Motherboard Info"][0]["Motherboard"][0]["Product Name"]) == "?")
{
document.getElementById("motherboard_output").innerHTML = (
"Unknown/Unsupported Motherboard detected.<br><br>Supported Motherboards: <br>" + supported_motherboards.join("<br>"));
}
Expand Down

0 comments on commit b326c17

Please sign in to comment.