2026-02-17 01:06:48 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
# MTProxyMax Quick Installer — SamNet Technologies
|
2026-02-24 08:05:09 -06:00
|
|
|
# Usage: curl -sL https://dl.samnet.dev/SamNet-dev/MTProxyMax/raw/branch/main/install.sh | sudo bash
|
2026-02-17 01:06:48 -06:00
|
|
|
set -e
|
2026-02-24 08:05:09 -06:00
|
|
|
SCRIPT_URL="https://dl.samnet.dev/SamNet-dev/MTProxyMax/raw/branch/main/mtproxymax.sh"
|
2026-02-17 01:06:48 -06:00
|
|
|
if [ "$(id -u)" -ne 0 ]; then echo "Run as root: curl -sL $SCRIPT_URL | sudo bash" >&2; exit 1; fi
|
|
|
|
|
curl -fsSL "$SCRIPT_URL" -o /tmp/mtproxymax.sh && bash /tmp/mtproxymax.sh install && rm -f /tmp/mtproxymax.sh
|