Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
Fix correct cron file
Browse files Browse the repository at this point in the history
  • Loading branch information
shawniverson committed Jan 6, 2018
1 parent 3845a60 commit 826de5a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions update/versions/EFA-Version-Upgrade-3.0.2.6
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,14 @@ EOF
echo -e "FromOrTo:\tDefault\tyes" >> /etc/MailScanner/numeric.phishing.rules
sed -i '/^Also Find Numeric Phishing =/ c\Also Find Numeric Phishing = %etc-dir%/numeric.phishing.rules' /etc/MailScanner/MailScanner.conf
fi

# Fix EFA-Monitor (post 3.0.2.6 quickfix)
rm -f /usr/sbin/EFA-Monitor-cron
cp $STAGING/Scripts/EFA-Monitor-cron /usr/sbin/EFA-Monitor-cron
chmod 700 /usr/sbin/EFA-Monitor-cron

# Exit Maintenance Mode
rm -f /var/EFA/EFA-Monitor.cron
cp $STAGING/Scripts/EFA-Monitor.cron /etc/cron.d/
mv -f /var/EFA/EFA-Monitor.cron /etc/cron.d > /dev/null 2>&1

# Restore excludes
sed -i "/^exclude=/ c\exclude=$YUM_EXCLUDES" /etc/yum.conf
Expand Down

0 comments on commit 826de5a

Please sign in to comment.