mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-30 09:06:01 +02:00
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
|
if [ $OS_RELEASE -eq 2 ]; then
|
||||||
yum install -y $PACKAGE
|
yum install -y $PACKAGE
|
||||||
aide --init
|
aide --init
|
||||||
|
mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
|
||||||
else
|
else
|
||||||
apt_install $PACKAGE
|
apt_install $PACKAGE
|
||||||
aideinit
|
aideinit
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#
|
#
|
||||||
# harbian audit 9 Hardening
|
# harbian audit 9/10 or CentOS Hardening
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user