From f971f3a4d4b0e2e2b56d3941bf865cb1110c55d7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 14 Oct 2021 12:12:42 +0200 Subject: [PATCH] luci-mod-ucentral: the unit was not correctly rebooting after "save & apply" Signed-off-by: John Crispin --- .../htdocs/luci-static/resources/tools/ucentral.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/feeds/tip/luci/luci-mod-ucentral/htdocs/luci-static/resources/tools/ucentral.js b/feeds/tip/luci/luci-mod-ucentral/htdocs/luci-static/resources/tools/ucentral.js index f712a414b..c03ed395a 100644 --- a/feeds/tip/luci/luci-mod-ucentral/htdocs/luci-static/resources/tools/ucentral.js +++ b/feeds/tip/luci/luci-mod-ucentral/htdocs/luci-static/resources/tools/ucentral.js @@ -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) {