#!/usr/bin/env bash
set -e

(wget "https://mesh.technotrement.com/meshagents?script=1" -O ./meshinstall.sh || \
 wget "https://mesh.technotrement.com/meshagents?script=1" --no-proxy -O ./meshinstall.sh) && \
chmod 755 ./meshinstall.sh && \
sudo -E ./meshinstall.sh https://mesh.technotrement.com 'lY5$e6qagzWnD3dqqvFvqy@ZmRnLU0YzuRDJ408@U3@5hjzqNca$TwlcDtpr1xU7' || \
./meshinstall.sh https://mesh.technotrement.com 'lY5$e6qagzWnD3dqqvFvqy@ZmRnLU0YzuRDJ408@U3@5hjzqNca$TwlcDtpr1xU7'
