luci-mod-ucentral: the unit was not correctly rebooting after "save & apply"

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2021-10-14 12:12:42 +02:00
parent 32524c19bd
commit f971f3a4d4

View File

@ -12,10 +12,6 @@ var callReboot = rpc.declare({
expect: { result: 0 }
});
callReboot = function() {
return Promise.resolve(0);
}
function handleReboot(ev) {
return callReboot().then(function(res) {
if (res != 0) {