mirror of
https://github.com/cluntop/tvbox.git
synced 2026-01-10 01:18:34 +01:00
14 lines
299 B
Bash
Executable file
14 lines
299 B
Bash
Executable file
#!/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"
|