<% local util = require "luci.util" local sys = require "luci.sys" local uci = require "luci.model.uci".cursor() local running = (sys.call("pidof ghttpd >/dev/null") == 0) local port = uci:get("ghttpd", "config", "port") or "8333" -%>
<% if running then %> <% else %> <% end %>
<% if running then %>
<% end %>