minor tweak
This commit is contained in:
parent
8a45e7d341
commit
fd9a6c1a27
@ -35,6 +35,11 @@ apt install -y update-notifier-common
|
||||
config="$config1" ; configalt="$config1alt" ; chkcfg $config $configalt
|
||||
config="$config2" ; configalt="$config2alt" ; chkcfg $config $configalt
|
||||
#
|
||||
# Back up configuration files.
|
||||
#
|
||||
cp -Rp /etc/apt/apt.conf.d/20auto-upgrades /etc/apt/apt.conf.d/20auto-upgrades.orig
|
||||
cp -Rp /etc/apt/apt.conf.d/50unattended-upgrades /etc/apt/apt.conf.d/50unattended-upgrades.orig
|
||||
#
|
||||
# Disable automatic updates. We want to be in control instead of letting the system do this randomly twice a day.
|
||||
#
|
||||
sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
|
||||
|
Loading…
Reference in New Issue
Block a user