Compare commits

..

4 Commits

Author SHA1 Message Date
tteckster 4744ccb562
Update plex.sh 2023-04-23 11:26:27 -04:00
tteckster ec321b76d9
Update blocky-install.sh 2023-04-23 11:13:42 -04:00
tteckster 3f309d3fda
Update blocky-install.sh
fix path for older downloads
2023-04-23 11:07:23 -04:00
tteckster fc89a4b426
Update blocky-install.sh
pin to version 0.20 for now
2023-04-23 10:56:37 -04:00
2 changed files with 5 additions and 4 deletions

View File

@ -66,6 +66,7 @@ msg_ok "Updated ${APP} LXC"
exit exit
fi fi
if [ "$UPD" == "2" ]; then if [ "$UPD" == "2" ]; then
set +e
bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)" bash -c "$(wget -qO - https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)"
exit exit
fi fi

View File

@ -22,11 +22,11 @@ msg_ok "Installed Dependencies"
msg_info "Installing Blocky" msg_info "Installing Blocky"
systemctl stop systemd-resolved systemctl stop systemd-resolved
$STD systemctl disable systemd-resolved.service $STD systemctl disable systemd-resolved.service
RELEASE=$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') RELEASE=0.20 #$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
wget -q https://github.com/0xERR0R/blocky/releases/download/v$RELEASE/blocky_v${RELEASE}_Linux_x86_64.tar.gz wget -q https://github.com/0xERR0R/blocky/releases/download/v$RELEASE/blocky_${RELEASE}_Linux_x86_64.tar.gz
mkdir -p /opt/blocky mkdir -p /opt/blocky
tar -xf blocky_v${RELEASE}_Linux_x86_64.tar.gz -C /opt/blocky tar -xf blocky_${RELEASE}_Linux_x86_64.tar.gz -C /opt/blocky
rm -rf blocky_v${RELEASE}_Linux_x86_64.tar.gz rm -rf blocky_${RELEASE}_Linux_x86_64.tar.gz
cat <<EOF >/opt/blocky/config.yml cat <<EOF >/opt/blocky/config.yml
upstream: upstream:
# these external DNS resolvers will be used. Blocky picks 2 random resolvers from the list for each query # these external DNS resolvers will be used. Blocky picks 2 random resolvers from the list for each query