Update 'update.sh'

This commit is contained in:
2020-03-10 15:47:32 -04:00
parent 78b66c96a9
commit 1a7de0689e

View File

@@ -83,6 +83,10 @@ elif [ ${OS} == 'CentOS' ]; then
sed --in-place "s/^apply_updates\ =\ no/apply_updates\ =\ yes/" /etc/yum/yum-cron.conf
systemctl enable yum-cron
systemctl restart yum-cron
# start and enable uptimed
systemctl start uptimed
systemctl enable uptimed
fi
# Centos 7
if [[ ${OS_VER} =~ ^8.* ]]; then
@@ -102,11 +106,6 @@ elif [ ${OS} == 'CentOS' ]; then
curl -o /etc/pki/ca-trust/source/anchors/${GAUNT_CA_CERT_NAME} https://johnhgaunt.com/${GAUNT_CA_CERT_NAME}
update-ca-trust
# start and enable uptimed
systemctl start uptimed
systemctl enable uptimed
else
echo "Unable to determine linux distro"
exit