web: try calling random-imei

It fails from the "SIM Swap" button, I don't know yet, why.
This commit is contained in:
Tobias Mueller 2023-10-17 16:38:57 +02:00
parent fa8e630714
commit 580d456ed1

View File

@ -161,7 +161,7 @@ function handleConfig(ev)
_('Waiting for the <em>%h</em> command to complete…').format(cmd)) _('Waiting for the <em>%h</em> command to complete…').format(cmd))
]); ]);
var argv = ["shred"]; var argv = ["random-imei"];
console.log("Calling ", cmd, argv); console.log("Calling ", cmd, argv);
// FIXME: Investigate whether we should be using fs.exec() // FIXME: Investigate whether we should be using fs.exec()
fs.exec_direct(cmd, argv, 'text').then(function(res) { fs.exec_direct(cmd, argv, 'text').then(function(res) {