mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 11:56:20 +00:00
Delete adguard-update.sh
prune
This commit is contained in:
parent
277a0df943
commit
3e85d59cdb
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
echo -e "\nStarting Update\n"
|
|
||||||
sleep 3
|
|
||||||
wget -q --show-progress https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
|
|
||||||
tar -xvf AdGuardHome_linux_amd64.tar.gz &>/dev/null
|
|
||||||
systemctl stop AdGuardHome
|
|
||||||
mkdir -p adguard-backup
|
|
||||||
cp -r /opt/AdGuardHome/AdGuardHome.yaml /opt/AdGuardHome/data adguard-backup/
|
|
||||||
cp AdGuardHome/AdGuardHome /opt/AdGuardHome/AdGuardHome
|
|
||||||
cp -r adguard-backup/* /opt/AdGuardHome/
|
|
||||||
systemctl start AdGuardHome
|
|
||||||
rm -rf AdGuardHome_linux_amd64.tar.gz AdGuardHome adguard-backup
|
|
||||||
echo -e "\nFinished\n"
|
|
Loading…
Reference in New Issue
Block a user