summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-base/luasrc/sys.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/sys.lua b/modules/luci-base/luasrc/sys.lua
index d0df275724..5aede84848 100644
--- a/modules/luci-base/luasrc/sys.lua
+++ b/modules/luci-base/luasrc/sys.lua
@@ -189,7 +189,7 @@ local function _nethints(what, callback)
end
end
)
-
+
cur:foreach("dhcp", "odhcpd",
function(s)
if type(s.leasefile) == "string" and fs.access(s.leasefile) then
@@ -645,7 +645,7 @@ function init.enabled(name)
end
function init.enable(name)
- return (init_action("enable", name) == 1)
+ return (init_action("enable", name) == 0)
end
function init.disable(name)