diff --git a/files/proxychains.conf b/files/proxychains4.conf similarity index 100% rename from files/proxychains.conf rename to files/proxychains4.conf diff --git a/init_priv.sh b/init_priv.sh index 28b5daf..c1c2eb0 100755 --- a/init_priv.sh +++ b/init_priv.sh @@ -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() {