mirror of
https://github.com/Ylianst/MeshCommander
synced 2025-12-06 06:03:20 +00:00
Added firmware reset
This commit is contained in:
10
index.html
10
index.html
@@ -1625,6 +1625,7 @@
|
|||||||
<div id=d24dSerialOverLan><label><input type=checkbox id=d24SerialOverLan onchange=showAdvPowerDlgChange()>Serial-over-LAN</label><br></div>
|
<div id=d24dSerialOverLan><label><input type=checkbox id=d24SerialOverLan onchange=showAdvPowerDlgChange()>Serial-over-LAN</label><br></div>
|
||||||
<div id=d24dSecureErase><label><input type=checkbox id=d24SecureErase onchange=showAdvPowerDlgChange()>Intel® Remote Secure Erase</label><br></div>
|
<div id=d24dSecureErase><label><input type=checkbox id=d24SecureErase onchange=showAdvPowerDlgChange()>Intel® Remote Secure Erase</label><br></div>
|
||||||
<div id=d24dPlatformErase><label><input type=checkbox id=d24PlatformErase onchange=showAdvPowerDlgChange()>Remote Platform Erase</label><br></div>
|
<div id=d24dPlatformErase><label><input type=checkbox id=d24PlatformErase onchange=showAdvPowerDlgChange()>Remote Platform Erase</label><br></div>
|
||||||
|
<div id=d24dFirmwareReset><label><input type=checkbox id=d24FirmwareReset onchange=showAdvPowerDlgChange()>Firmware Reset</label><br></div>
|
||||||
</div>
|
</div>
|
||||||
<div>Boot Settings</div>
|
<div>Boot Settings</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -10592,6 +10593,7 @@
|
|||||||
QV('d24dSerialOverLan', amtPowerBootCapabilities['SOL'] == true);
|
QV('d24dSerialOverLan', amtPowerBootCapabilities['SOL'] == true);
|
||||||
QV('d24dSecureErase', amtPowerBootCapabilities['SecureErase'] == true);
|
QV('d24dSecureErase', amtPowerBootCapabilities['SecureErase'] == true);
|
||||||
QV('d24dPlatformErase', (amtPowerBootCapabilities['PlatformErase'] != null) && (amtsysstate['CIM_BootService'] != null) && (amtsysstate['CIM_BootService'].response['EnabledState'] >= 32768) && ((amtsysstate['CIM_BootService'].response['EnabledState'] & 2) != 0));
|
QV('d24dPlatformErase', (amtPowerBootCapabilities['PlatformErase'] != null) && (amtsysstate['CIM_BootService'] != null) && (amtsysstate['CIM_BootService'].response['EnabledState'] >= 32768) && ((amtsysstate['CIM_BootService'].response['EnabledState'] & 2) != 0));
|
||||||
|
QV('d24dFirmwareReset', amtPowerBootCapabilities['ConfigurationDataReset'] == true);
|
||||||
QV('d24dLockSleepButton', amtPowerBootCapabilities['SleepButtonLock'] == true);
|
QV('d24dLockSleepButton', amtPowerBootCapabilities['SleepButtonLock'] == true);
|
||||||
QV('d24dUserPasswordBypass', amtPowerBootCapabilities['UserPasswordBypass'] == true);
|
QV('d24dUserPasswordBypass', amtPowerBootCapabilities['UserPasswordBypass'] == true);
|
||||||
QV('idx_d24Verbocity1', amtPowerBootCapabilities['VerbosityQuiet'] == true);
|
QV('idx_d24Verbocity1', amtPowerBootCapabilities['VerbosityQuiet'] == true);
|
||||||
@@ -10685,7 +10687,8 @@
|
|||||||
AvdPowerDlg.UseSafeMode = Q('d24SafeMode').checked;
|
AvdPowerDlg.UseSafeMode = Q('d24SafeMode').checked;
|
||||||
AvdPowerDlg.UserPasswordBypass = Q('d24UserPasswordBypass').checked;
|
AvdPowerDlg.UserPasswordBypass = Q('d24UserPasswordBypass').checked;
|
||||||
AvdPowerDlg.SecureErase = Q('d24SecureErase').checked;
|
AvdPowerDlg.SecureErase = Q('d24SecureErase').checked;
|
||||||
AvdPowerDlg.PlatformErase = Q('d24PlatformErase').checked;
|
AvdPowerDlg.PlatformErase = Q('d24PlatformErase').checked
|
||||||
|
AvdPowerDlg.FirmwareReset = Q('d24FirmwareReset').checked;
|
||||||
if ((AvdPowerDlg.SecureErase === true) && (Q('d24rsepass').value.length > 0)) { AvdPowerDlg.RSEPassword = Q('d24rsepass').value; }
|
if ((AvdPowerDlg.SecureErase === true) && (Q('d24rsepass').value.length > 0)) { AvdPowerDlg.RSEPassword = Q('d24rsepass').value; }
|
||||||
|
|
||||||
if (AvdPowerDlg.PlatformErase === true) {
|
if (AvdPowerDlg.PlatformErase === true) {
|
||||||
@@ -10803,7 +10806,6 @@
|
|||||||
delete r['BIOSLastStatus'];
|
delete r['BIOSLastStatus'];
|
||||||
delete r['UefiBootParametersArray'];
|
delete r['UefiBootParametersArray'];
|
||||||
delete r['RPEEnabled'];
|
delete r['RPEEnabled'];
|
||||||
if (r['UefiBootNumberOfParams'] != null) { r['UefiBootNumberOfParams'] = 0; r['UefiBootParametersArray'] = ''; }
|
|
||||||
|
|
||||||
// ###BEGIN###{PowerControl-Advanced}
|
// ###BEGIN###{PowerControl-Advanced}
|
||||||
if (action == 999) {
|
if (action == 999) {
|
||||||
@@ -10832,6 +10834,7 @@
|
|||||||
r['UefiBootParametersArray'] = platfromEraseTLV.tlv;
|
r['UefiBootParametersArray'] = platfromEraseTLV.tlv;
|
||||||
r['UefiBootNumberOfParams'] = platfromEraseTLV.tlvlen;
|
r['UefiBootNumberOfParams'] = platfromEraseTLV.tlvlen;
|
||||||
}
|
}
|
||||||
|
if (r['ConfigurationDataReset'] != null) { r['ConfigurationDataReset'] = AvdPowerDlg.FirmwareReset; }
|
||||||
} else {
|
} else {
|
||||||
// ###END###{PowerControl-Advanced}
|
// ###END###{PowerControl-Advanced}
|
||||||
r['BIOSPause'] = false;
|
r['BIOSPause'] = false;
|
||||||
@@ -10860,6 +10863,9 @@
|
|||||||
r['UefiBootParametersArray'] = platfromEraseTLV.tlv;
|
r['UefiBootParametersArray'] = platfromEraseTLV.tlv;
|
||||||
r['UefiBootNumberOfParams'] = platfromEraseTLV.tlvlen;
|
r['UefiBootNumberOfParams'] = platfromEraseTLV.tlvlen;
|
||||||
}
|
}
|
||||||
|
if (r['ConfigurationDataReset'] != null) {
|
||||||
|
r['ConfigurationDataReset'] = false;
|
||||||
|
}
|
||||||
rsepass = null;
|
rsepass = null;
|
||||||
// ###BEGIN###{PowerControl-Advanced}
|
// ###BEGIN###{PowerControl-Advanced}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user