From ee6cbb674103eef9d7c97b3968315f7f6f8d94a9 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Mon, 12 Aug 2019 18:54:23 -0400 Subject: [PATCH] Update 'update.sh' --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 9268ef2..017c2e7 100644 --- a/update.sh +++ b/update.sh @@ -64,7 +64,7 @@ elif [ -f /etc/redhat-release ]; then yum autoremove -y # modify yum-cron config to auto install security updates and enable/start the service - sed --in-place "s/^update_cmd\ =\ default/update_cmd\ =\ security/" /etc/yum/yum-cron.conf + sed --in-place "s/^update_cmd\ =\ security/update_cmd\ =\ default/" /etc/yum/yum-cron.conf sed --in-place "s/^apply_updates\ =\ no/apply_updates\ =\ yes/" /etc/yum/yum-cron.conf systemctl enable yum-cron systemctl restart yum-cron