% local util = require "luci.util" local container_status = util.trim(util.exec("/usr/libexec/apps/nodered/nodered.sh status")) local container_install = (string.len(container_status) > 0) local container_running = string.find(string.lower(container_status), "up") and string.find(string.lower(container_status), "(healthy)") -%>