perf: improve prompt list performance

This commit is contained in:
Yidadaa
2023-05-02 02:26:43 +08:00
parent a69cec89fb
commit e509749421
12 changed files with 240 additions and 80 deletions

View File

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