zw963 / asuswrt-merlin-transparent-proxy

transparent proxy base on ss, v2ray, xray, ipset, iptables, chinadns on asuswrt merlin or side router.
MIT License
380 stars 80 forks source link

Fix failed to switch proxy if config filename contains special characters to bash #69

Closed kfstorm closed 5 years ago

kfstorm commented 5 years ago

If the shadowsocks config file name has special characters to bash, like [, the switch_proxy.sh file will fail. e.g.

37
[: [NF]: unknown operand
config not exist.