1
0
Ответвление 0
зеркало из https://github.com/cluntop/tvbox.git синхронизирован 2026-01-12 02:18:34 +01:00
fun/tcp.sh
2025-12-16 04:27:02 +00:00

14 строки
299 Б
Bash
Исполняемый файл

#!/bin/bash
if [ "$(id -u)" -ne 0 ]; then
exec sudo "$0" "$@"
fi
clun_download() {
cd ~ || return 1
curl -s https://raw.githubusercontent.com/cluntop/sh/refs/heads/main/tcp.sh -o clun_tcp.sh || return 1
chmod +x clun_tcp.sh || return 1
./clun_tcp.sh "$1"
}
clun_download "$1"