luci-app-https-dns-proxy: better service control & buttons styling
[project/luci.git] / applications / luci-app-https-dns-proxy / luasrc / model / cbi / https-dns-proxy.lua
index 11eca60399153c6e91a5d7ac32e70b48e02a69be..405eb2a846accdce3875e1325e50df59af1a0327 100644 (file)
@@ -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