Update unlock.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent 082573bd08
commit 39c681c906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      unlock.sh

@ -459,8 +459,8 @@ action5(){
[ -n "$UNLOCK_MODE_NOW" ] && uninstall
TASK=""
RESULT_OUTPUT="${T[${L}44]}"
node -v >/dev/null 2>&1 && check_dependencies nodejs
node -v >/dev/null 2>&1 && check_dependencies npm
node -v >/dev/null 2>&1 || check_dependencies nodejs
node -v >/dev/null 2>&1 || check_dependencies npm
npm install -g pm2
export_unlock_file
pm2 start /etc/wireguard/warp_unlock.sh

Loading…
Cancel
Save