From b60e0b0460c5758b7ed8af8fff6357d6f9702878 Mon Sep 17 00:00:00 2001 From: action Date: Thu, 25 Jun 2026 05:19:15 +0800 Subject: [PATCH] update 2026-06-25 05:19:15 --- .../root/etc/init.d/shadowsocksr | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/luci-app-ssr-plus/root/etc/init.d/shadowsocksr b/luci-app-ssr-plus/root/etc/init.d/shadowsocksr index 13363b4e..89f44eaf 100755 --- a/luci-app-ssr-plus/root/etc/init.d/shadowsocksr +++ b/luci-app-ssr-plus/root/etc/init.d/shadowsocksr @@ -2589,14 +2589,17 @@ stop() { uci -q del "dhcp.@dnsmasq[0]._unused_ssrp_changed" uci -q commit "dhcp" fi - if [ -f "$DNSMASQ_CONF_DIR/dnsmasq-ssrplus.conf" ]; then - rm -rf $DNSMASQ_CONF_DIR/dnsmasq-ssrplus.conf \ - $TMP_DNSMASQ_PATH \ - $TMP_PATH/*-ssr-*.json \ - $TMP_PATH/3proxy* \ - $TMP_PATH/clash-* \ - $TMP_PATH/ssr-server*.json \ - $TMP_PATH/*-config-*.json + if [ -f "$DNSMASQ_CONF_DIR/dnsmasq-ssrplus.conf" ]; then + rm -rf $DNSMASQ_CONF_DIR/dnsmasq-ssrplus.conf \ + $TMP_DNSMASQ_PATH \ + $TMP_PATH/*-ssr-*.json \ + $TMP_PATH/3proxy* \ + $TMP_PATH/clash-* \ + $TMP_PATH/v2ray-* \ + $TMP_PATH/tuic-* \ + $TMP_PATH/ss-* \ + $TMP_PATH/ssr-server*.json \ + $TMP_PATH/*-config-*.json /etc/init.d/dnsmasq restart >/dev/null 2>&1 fi