Skip to content

Commit

Permalink
Merge branch '123.08stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Dec 18, 2015
2 parents 565152c + 801f868 commit 1ebbe52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/maldet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ echo ""

# enable auto quarantine of malware hits
sed -i 's/quar_hits=0/quar_hits=1/g' /usr/local/maldetect/conf.maldet
sed -i 's/quar_hits=\"0\"/quar_hits=\"1\"/g' /usr/local/maldetect/conf.maldet

# append Centmin Mod specific scan paths into cron.daily/malet
sed -i '/\/home?\/?\/public_html/ a\ \/usr\/local\/maldetect\/maldet -b -r \/home\/nginx\/domains\/?\/public 2 >> \/dev\/null 2>&1' /etc/cron.daily/maldet
Expand Down

0 comments on commit 1ebbe52

Please sign in to comment.