mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-29 00:11:57 +00:00
Update alpine-adguard-v5-install.sh
Tweak
This commit is contained in:
parent
3d15e5b026
commit
fc5521f2f9
@ -105,7 +105,7 @@ $STD apk add mc
|
|||||||
$STD apk add openssh
|
$STD apk add openssh
|
||||||
msg_ok "Installed Dependencies"
|
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)}');
|
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 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
|
$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 chmod +x /opt/AdGuardHome/AdGuardHome
|
||||||
$STD /opt/AdGuardHome/AdGuardHome -s install
|
$STD /opt/AdGuardHome/AdGuardHome -s install
|
||||||
$STD /opt/AdGuardHome/AdGuardHome -s start
|
$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
|
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd
|
||||||
if [[ "${SSH_ROOT}" == "yes" ]]; then
|
if [[ "${SSH_ROOT}" == "yes" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user