Update menu.sh

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

@ -618,7 +618,7 @@ change_ip(){
INTERFACE='--interface CloudflareWARP'
[[ -z "$EXPECT" ]] && input_region
i=0; j=5
i=0; j=10
while true
do (( i++ )) || true
ip_now=$(date +%s); RUNTIME=$((ip_now - ip_start)); DAY=$(( RUNTIME / 86400 )); HOUR=$(( (RUNTIME % 86400 ) / 3600 )); MIN=$(( (RUNTIME % 86400 % 3600) / 60 )); SEC=$(( RUNTIME % 86400 % 3600 % 60 ))
@ -822,7 +822,7 @@ proxy_onoff(){
systemctl stop warp-svc
green " ${T[${L}91]} " && exit 0
else systemctl start warp-svc
else systemctl start warp-svc; sleep 5
if [[ $(warp-cli --accept-tos settings) =~ WarpProxy ]]; then
proxy_info
ACCOUNT=$(warp-cli --accept-tos account 2>/dev/null)

Loading…
Cancel
Save