Skip to content

Commit 522a3fd

Browse files
author
zxlhhyccc
committed
luci-app-ssr-plus: Fix the issue where fw4 does not support reload.
1 parent 1b8e38a commit 522a3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

luci-app-ssr-plus/root/etc/uci-defaults/luci-ssr-plus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ uci -q batch <<-EOF
1414
set firewall.shadowsocksr=include
1515
set firewall.shadowsocksr.type=script
1616
set firewall.shadowsocksr.path=/var/etc/shadowsocksr.include
17-
set firewall.shadowsocksr.reload=1
17+
$(command -v fw4 >/dev/null 2>&1 || echo "set firewall.shadowsocksr.reload=1")
1818
commit firewall
1919
EOF
2020

0 commit comments

Comments
 (0)