port BC named cts

This commit is contained in:
Sam
2025-01-02 21:48:22 +10:00
parent 9afdcc793b
commit 060dad5633
12 changed files with 13 additions and 25 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ if systemctl is-active systemd-resolved > /dev/null 2>&1; then
fi
mkdir /opt/blocky
RELEASE=$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_x86_64.tar.gz | tar -xzf - -C /opt/blocky/
wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_arm64.tar.gz | tar -xzf - -C /opt/blocky/
cat <<EOF >/opt/blocky/config.yml
upstream: