Add configure_proxychains

This commit is contained in:
Konano 2023-11-27 15:01:24 +08:00
parent 7f9b18644f
commit 0d12749cb1
2 changed files with 9 additions and 0 deletions

View File

@ -211,6 +211,15 @@ configure_oomkiller() {
fi
}
configure_proxychains() {
[ -f /etc/proxychains4.conf ] && return
if confirm_action "要配置 proxychains 吗?" "N"; then
sudo apt install proxychains4 -y
sudo cp $scriptdir/files/proxychains4.conf /etc/proxychains4.conf
fi
}
# ============================================================
configure_swap() {