<% 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_first("ghttpd", "ghttpd", "port") or "80" -%>
<% if running then %> <% else %> <% end %>
<% if running then %>
<% end %>