Modify 8.4.1 8.4.2 to be compatible with CentOS.
This commit is contained in:
parent
fe19d99160
commit
4df1ad9f1e
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# harbian audit 9 Hardening
|
||||
# harbian audit 9/10 or CentOS Hardening
|
||||
#
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue