Files
wlan-ucentral-schema/command/cmd_reenroll.uc
John Crispin f3d1356a06 add reenroll command
Signed-off-by: John Crispin <john@phrozen.org>
2025-07-08 10:20:31 +02:00

10 lines
224 B
Ucode

let ret = system("est_client reenroll");
result_json({
"error": ret,
"text": ret ? "Failed" : "Success",
"resultCode": ret,
});
if (!ret)
system("(sleep 10; /etc/init.d/ucentral restart)&");