diff --git a/luci-app-fchomo/root/etc/config/fchomo b/luci-app-fchomo/root/etc/config/fchomo index 35e55997..17f60fa4 100644 --- a/luci-app-fchomo/root/etc/config/fchomo +++ b/luci-app-fchomo/root/etc/config/fchomo @@ -46,7 +46,6 @@ config fchomo 'tls' config fchomo 'api' option external_controller_port '9090' - option external_controller_tls_port '9443' config fchomo 'sniffer' list skip_domain 'Mijia Cloud' diff --git a/luci-app-fchomo/root/etc/init.d/fchomo b/luci-app-fchomo/root/etc/init.d/fchomo index 5a330bda..55e2c97b 100755 --- a/luci-app-fchomo/root/etc/init.d/fchomo +++ b/luci-app-fchomo/root/etc/init.d/fchomo @@ -251,7 +251,7 @@ start_service() { procd_set_param command /bin/sh procd_append_param command -c "'$PROG' -d '$HM_DIR' -f '$RUN_DIR/mihomo-c.yaml' >> '$RUN_DIR/mihomo-c.log' 2>&1" - procd_set_param env SAFE_PATHS="$RUN_DIR/" # The syntax of this environment variable is the same as the PATH environment variable parsing rules of this operating system (i.e., semicolon-separated under Windows and colon-separated under other systems) + procd_set_param env SAFE_PATHS="$RUN_DIR:/etc/ssl" SKIP_SAFE_PATH_CHECK=true # The syntax of this environment variable is the same as the PATH environment variable parsing rules of this operating system (i.e., semicolon-separated under Windows and colon-separated under other systems) # Only supports `Global`` and does not support `Proxy Group` and `Proxy Node` local bind_ifname