- Timestamp:
- Jun 13, 2017 9:11:00 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/linux/setup-routines.sh
r67192 r67354 130 130 # http://ask.xmodulo.com/disable-automatic-updates-ubuntu.html 131 131 test_unattended_updates_disabled() { 132 if grep "APT::Periodic::Unattended-Upgrade.*1" /etc/apt/apt.conf.d/* 2>/dev/null 132 if grep "APT::Periodic::Unattended-Upgrade.*1" /etc/apt/apt.conf.d/* 2>/dev/null; then 133 133 echo "Unattended updates enabled?" 134 134 return 1 135 135 fi 136 if grep "APT::Periodic::Update-Package-List.*1" /etc/apt/apt.conf.d/* 2>/dev/null 136 if grep "APT::Periodic::Update-Package-List.*1" /etc/apt/apt.conf.d/* 2>/dev/null; then 137 137 echo "Unattended package updates enabled?" 138 138 return 1
Note:
See TracChangeset
for help on using the changeset viewer.