<%- local uci = require("luci.model.uci").cursor() local fs = require "luci.openclash" local conf = fs.uci_get_config("config", "config_path") if not conf then conf = "/etc/openclash/config/config.yaml" end local conf_name = fs.basename(conf) if not conf_name then conf_name = "config.yaml" end local sconf = "/etc/openclash/"..conf_name -%>

<%:Modify Your Config file:%> <%=conf_name%> <%:Here, Except The Settings That Were Taken Over%> <%- if fs.isfile(sconf) then -%> | <%:Config File Edited By OpenClash For Running%> <%- else -%> | <%:Default Config File With Correct Template%> <%- end -%>