From f47ce34e74415e047ff0b3fb095ca0f179809259 Mon Sep 17 00:00:00 2001 From: rogier Date: Thu, 1 May 2025 20:24:31 +0200 Subject: [PATCH] Add setup-unattended-upgrades.sh --- setup-unattended-upgrades.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 setup-unattended-upgrades.sh diff --git a/setup-unattended-upgrades.sh b/setup-unattended-upgrades.sh new file mode 100644 index 0000000..62988d4 --- /dev/null +++ b/setup-unattended-upgrades.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Update package lists and install unattended-upgrades +sudo apt update && sudo apt install -y unattended-upgrades + +# Enable automatic updates +sudo tee /etc/apt/apt.conf.d/20auto-upgrades > /dev/null <