summaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
authorflawedworld <flawedworld@flawed.world>2022-08-22 23:51:26 +0100
committerDaniel Micay <danielmicay@gmail.com>2022-08-28 16:42:09 -0400
commitb6f2134e8f29b22a7674acc09fdffad4df81ac3c (patch)
treedb667ee1f163310466a25c6fdbcbeaff0d297d91 /static/js
parent880568230988ec35e88859985640d5c1e339306f (diff)
Erase DPM on GS101 devices
Diffstat (limited to 'static/js')
-rw-r--r--static/js/web-install.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/js/web-install.js b/static/js/web-install.js
index 53550276..84443fd7 100644
--- a/static/js/web-install.js
+++ b/static/js/web-install.js
@@ -241,6 +241,9 @@ async function flashRelease(setProgress) {
if (gs101Devices.includes(product)) {
setProgress("Disabling FIPS...");
await device.runCommand("erase:fips");
+ setProgress("Erasing DPM...");
+ await device.runCommand("erase:dpm_a");
+ await device.runCommand("erase:dpm_b");
}
} finally {
safeToLeave = true;