Update menu.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent 8524a5892b
commit 0a0444c39f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      menu.sh

@ -926,7 +926,7 @@ EOF
bash /usr/bin/tun.sh
TUN=$(cat /dev/net/tun 2>&1 | tr '[:upper:]' '[:lower:]')
if [[ ! $TUN =~ 'in bad state' ]] && [[ ! $TUN =~ '处于错误状态' ]] && [[ ! $TUN =~ 'Die Dateizugriffsnummer ist in schlechter Verfassung' ]]; then
rm -f /usr/bin//tun.sh && red " ${T[${L}3]} " && exit 1
rm -f /usr/bin/tun.sh && red " ${T[${L}3]} " && exit 1
else echo "@reboot root bash /usr/bin/tun.sh" >> /etc/crontab
fi
fi

Loading…
Cancel
Save