summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-04-03 12:50:10 +0000
committerStan Grishin <stangri@melmac.net>2020-04-03 12:50:10 +0000
commitbdcb760d6214cb9011f4a6fa20a56fa959bc696f (patch)
treecd9bd2d626ab639bf25eb42fb931635bb0b3b60e /applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
parent015712bba0fe4b036b4d12235a7b664d5b4cf3fe (diff)
luci-app-https-dns-proxy: better service control & buttons styling
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua')
-rw-r--r--applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
index 11eca60399..405eb2a846 100644
--- a/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
+++ b/applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua
@@ -35,6 +35,9 @@ else
if not ubusStatus or not ubusStatus[packageName] then
tmpfsStatusCode = 0
tmpfsStatus = translate("Stopped")
+ if not luci.sys.init.enabled(packageName) then
+ tmpfsStatus = tmpfsStatus .. " (" .. translate("disabled") .. ")"
+ end
else
tmpfsStatusCode, tmpfsStatus = 1, ""
for n = 1,1000 do