rd"
  end
  if luci.sys.call("[ -e /etc/init.d/unishare ] >/dev/null 2>&1") == 0 then
      features[#features+1] = "unishare"
  end
  if luci.sys.call("/etc/init.d/ttyd running >/dev/null 2>&1") == 0 then
      features[#features+1] = "ttyd"
      local port = uci:get_first("ttyd", "ttyd", "port") or "7681"
      local ssl  = uci:get_first("ttyd", "ttyd", "ssl") or "0"
      configs["ttyd"] = {
        port = tonumber(port),
        ssl = ssl == "1"
      }
  end
  if uci:get("quickstart", "main", "disable