🍉 Sync 2026-09-25 18:00:12

This commit is contained in:
github-actions[bot] committed 2026-09-25 18:00:12 +08:00
1 parent 7c17dda4d0
commit 2ee65a261e
135 files changed
+5726 -7799

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for SSR Mudb Server
LUCI_DEPENDS:=+libsodium +luci-lib-jsonc +python3
LUCI_PKGARCH:=all
PKG_VERSION:=20211211
PKG_RELEASE:=3
PKG_RELEASE:=4
include $(TOPDIR)/feeds/luci/luci.mk
@@ -49,6 +49,7 @@ gen_include() {
iptables-restore -n <<-EOT
$(extract_rules filter)
EOT
exit 0
EOF
return 0
}
@@ -5,9 +5,16 @@ uci -q batch <<-EOF >/dev/null
set firewall.ssr_mudb_server=include
set firewall.ssr_mudb_server.type=script
set firewall.ssr_mudb_server.path=/var/etc/ssr_mudb_server.include
set firewall.ssr_mudb_server.reload=1
EOF
if [ -x "/sbin/fw3" ] && [ ! -L "/sbin/fw3" ]; then
uci -q set firewall.ssr_mudb_server.reload='1'
else
uci -q delete firewall.ssr_mudb_server.reload
uci -q delete firewall.ssr_mudb_server.fw4_compatible
fi
uci commit firewall
chmod a+x /usr/share/ssr_mudb_server/* >/dev/null 2>&1
cp -rf /usr/bin/python3 /usr/bin/python
rm -rf /tmp/luci-*cache