Merge pull request #3844 from DinStamou/feature_libredns
[project/luci.git] / applications / luci-app-https-dns-proxy / luasrc / model / cbi / https-dns-proxy.lua
index 57ca2f63fb1232295f543cf31c8102962a58ba12..a50b5b17c9bbbcaab15b8634a0759d0232b7022d 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