|
|
|
@ -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
|
|
|
|
|