15 lines
549 B
Bash
15 lines
549 B
Bash
##--------------##
|
|
# Pre-Config #
|
|
##--------------##
|
|
apt update
|
|
|
|
##-------------##
|
|
# Installer #
|
|
##-------------##
|
|
apt install unattended-upgrades -y
|
|
|
|
##----------##
|
|
# Config #
|
|
##----------##
|
|
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Unattended-Security-Updates/raw/branch/master/config/Ubuntu_20auto-upgrades -O /etc/apt/apt.conf.d/20auto-upgrades
|
|
wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Unattended-Security-Updates/raw/branch/master/config/Ubuntu_50unattended-upgrades -O /etc/apt/apt.conf.d/50unattended-upgrades |