saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2022-08-04 13:53:10 +03:00
parent 0dc1f83f9c
commit e78cbad7da
3 changed files with 4 additions and 2 deletions

View File

@@ -308,7 +308,6 @@ maybe chmod 0600 'cron.d/csf_update'
maybe chmod 0644 'cron.d/lfd-cron' maybe chmod 0644 'cron.d/lfd-cron'
maybe chmod 0644 'cron.d/maldet_pub' maybe chmod 0644 'cron.d/maldet_pub'
maybe chmod 0755 'cron.daily' maybe chmod 0755 'cron.daily'
maybe chmod 0750 'cron.daily/aide'
maybe chmod 0700 'cron.daily/csget' maybe chmod 0700 'cron.daily/csget'
maybe chmod 0755 'cron.daily/etckeeper' maybe chmod 0755 'cron.daily/etckeeper'
maybe chmod 0755 'cron.daily/logrotate' maybe chmod 0755 'cron.daily/logrotate'
@@ -318,6 +317,7 @@ maybe chmod 0644 'cron.deny'
maybe chmod 0755 'cron.hourly' maybe chmod 0755 'cron.hourly'
maybe chmod 0755 'cron.hourly/0anacron' maybe chmod 0755 'cron.hourly/0anacron'
maybe chmod 0755 'cron.monthly' maybe chmod 0755 'cron.monthly'
maybe chmod 0750 'cron.monthly/aide'
maybe chmod 0755 'cron.monthly/psacct' maybe chmod 0755 'cron.monthly/psacct'
maybe chmod 0755 'cron.weekly' maybe chmod 0755 'cron.weekly'
maybe chmod 0644 'crontab' maybe chmod 0644 'crontab'

View File

@@ -1 +0,0 @@
18 01 * * * /usr/bin/perl /opt/aide.pl

3
cron.monthly/aide Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
/usr/bin/perl /opt/aide.pl