-
Notifications
You must be signed in to change notification settings - Fork 64
AdGuard Home update script
trinib edited this page Jun 8, 2022
·
14 revisions
Currently set for stable releases only. For beta
or edge
, change channel variable in script(close to end of file)
Run script from network in command line:
curl -s -L https://raw.githubusercontent.com/trinib/AdGuard-WireGuard-Unbound-Cloudflare/main/assets/scripts/update_adguard.sh | sh
Or download file manually:
Open a new script file and copy&paste script [click here]:
sudo nano agh_update.sh
Save file(control+x then y then enter):
Set permission:
sudo chmod +x agh_update.sh
Run script:
sudo ./agh_update.sh
You can use script in cron job, it will just overwrite if no new version
Example:
0 3 * * WED sudo ./agh_update.sh
or
0 3 * * WED curl -s -L https://raw.githubusercontent.com/trinib/AdGuard-WireGuard-Unbound-Cloudflare/main/assets/scripts/update_adguard.sh | sh