Update alpine-adguard-v5-install.sh

Tweak
pull/1190/head
tteckster 2 years ago committed by GitHub
parent 3d15e5b026
commit fc5521f2f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,7 +105,7 @@ $STD apk add mc
$STD apk add openssh
msg_ok "Installed Dependencies"
msg_info "Installing AdguardHome"
msg_info "Installing $APPLICATION"
VER=$(curl --silent -qI https://github.com/AdguardTeam/AdGuardHome/releases/latest | awk -F '/' '/^location/ {print substr($NF, 1, length($NF)-1)}');
$STD wget -q "https://github.com/AdguardTeam/AdGuardHome/releases/download/$VER/AdGuardHome_linux_amd64.tar.gz"
$STD tar -xvf AdGuardHome_linux_amd64.tar.gz >/dev/null 2>&1
@ -114,7 +114,7 @@ $STD rm AdGuardHome_linux_amd64.tar.gz
$STD chmod +x /opt/AdGuardHome/AdGuardHome
$STD /opt/AdGuardHome/AdGuardHome -s install
$STD /opt/AdGuardHome/AdGuardHome -s start
$STD msg_ok "Installed AdguardHome"
$STD msg_ok "Installed $APPLICATION"
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd
if [[ "${SSH_ROOT}" == "yes" ]]; then

Loading…
Cancel
Save

Powered by BW's shoe-string budget.