Skip to content

Commit

Permalink
Disable multi thread/reuse port for ipt2socks
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonsm committed Jun 25, 2020
1 parent 2c87f16 commit 7d2408f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion trunk/user/scripts/mtd_storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ EOF
cat >> "$user_dnsmasq_conf" <<EOF
# Custom domains to gfwlist
#gfwlist=mit.edu
#gfwlist=openwrt.org
#gfwlist=openwrt.org,lede-project.org
#gfwlist=github.com,github.io,githubusercontent.com
EOF
Expand Down
2 changes: 1 addition & 1 deletion trunk/user/wing/wing
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ start()

# ipt2socks
if [ ! -z $SOCKS_HOST ]; then
IPT2SOCKS_CMD="ipt2socks -s $SOCKS_HOST -p $SOCKS_PORT -b 0.0.0.0 -l 1088 -j `cat /proc/cpuinfo|grep processor|wc -l` -T -4 -R"
IPT2SOCKS_CMD="ipt2socks -s $SOCKS_HOST -p $SOCKS_PORT -b 0.0.0.0 -l 1088 -T -4 -R"
if [ $1 -ge 5 ]; then
$IPT2SOCKS_CMD &
elif [ $1 -ge 2 ]; then
Expand Down

0 comments on commit 7d2408f

Please sign in to comment.