Skip to content

Commit

Permalink
修复sing-box.init脚本创建iptables规则
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Oct 3, 2023
1 parent 90cc19e commit ce29ab1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/etc/uci-defaults/zzz-chenmozhijin
Original file line number Diff line number Diff line change
Expand Up @@ -316,5 +316,7 @@ echo "0 2 * * * /usr/share/cmzj/openwrt-k_tool.sh update rules" >>/etc/crontabs/
ln -s /usr/share/cmzj/openwrt-k_tool.sh /bin/openwrt-k
chmod +x /usr/share/cmzj/openwrt-k_tool.sh
uci commit
/etc/init.d/sing-box stop
/etc/init.d/sing-box disable
exit 0

0 comments on commit ce29ab1

Please sign in to comment.