Modify 8.4.1 8.4.2 to be compatible with CentOS.

This commit is contained in:
Samson-W 2019-08-16 18:27:33 +08:00
parent fe19d99160
commit 4df1ad9f1e
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ apply () {
if [ $OS_RELEASE -eq 2 ]; then
yum install -y $PACKAGE
aide --init
mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
else
apt_install $PACKAGE
aideinit

View File

@ -1,7 +1,7 @@
#!/bin/bash
#
# harbian audit 9 Hardening
# harbian audit 9/10 or CentOS Hardening
#
#