From 3ce42ac1ccf5c2815df6bb95bbd57216953b4051 Mon Sep 17 00:00:00 2001 From: seppdroid Date: Mon, 26 May 2025 13:35:46 +0000 Subject: [PATCH] Update ubnt-autopatch-set.md --- ubnt-autopatch-set.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ubnt-autopatch-set.md b/ubnt-autopatch-set.md index 2044e98..3848c6e 100644 --- a/ubnt-autopatch-set.md +++ b/ubnt-autopatch-set.md @@ -1,4 +1,5 @@ sudo apt update + sudo apt install unattended-upgrades sudo dpkg-reconfigure --priority=low unattended-upgrades @@ -10,6 +11,7 @@ sudo nano /etc/apt/apt.conf.d/50unattended-upgrades Uncomment or add (remove // from) the appropriate lines, like: "${distro_id}:${distro_codename}-security"; + "${distro_id}:${distro_codename}-updates"; Optional but recommended: @@ -29,8 +31,11 @@ sudo nano /etc/apt/apt.conf.d/20auto-upgrades Add or verify these lines: APT::Periodic::Update-Package-Lists "1"; + APT::Periodic::Download-Upgradeable-Packages "1"; + APT::Periodic::AutocleanInterval "7"; + APT::Periodic::Unattended-Upgrade "1"; Explanation: