Update menu.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent cde39266b3
commit 8cf10483d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      menu.sh

@ -795,11 +795,11 @@ proxy_onoff(){
wireproxy_onoff(){
! type -P wireproxy >/dev/null 2>&1 && red " ${T[${L}157]} " && exit 1 || OCTEEP=1
if ss -nltp | grep wireproxy >/dev/null 2>&1; then
systemctl disable --now wireproxy
systemctl disable --now wireproxy >/dev/null 2>&1
[[ ! $(ss -nltp) =~ 'wireproxy' ]] && green " ${T[${L}158]} "
else systemctl enable --now wireproxy
sleep 1 && proxy_info
else systemctl enable --now wireproxy >/dev/null 2>&1
sleep 1 && proxy_info
[[ $(ss -nltp) =~ 'wireproxy' ]] && green " ${T[${L}99]}\n $(eval echo "${T[${L}162]}") "
fi
}

Loading…
Cancel
Save