feat: close #118 add stop all button

This commit is contained in:
Yidadaa
2023-04-16 18:07:43 +08:00
parent bd69c8f5dd
commit dc3883ed1a
9 changed files with 48 additions and 9 deletions

5
scripts/init-proxy.sh Normal file
View File

@@ -0,0 +1,5 @@
dir="$(dirname "$0")"
config=$dir/proxychains.conf
host_ip=$(grep nameserver /etc/resolv.conf | sed 's/nameserver //')
cp $dir/proxychains.template.conf $config
sed -i "\$s/.*/http $host_ip 7890/" $config