From fd32e6f1a079168e9bc76e244eff76d1747bacd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Thu, 5 Apr 2018 16:37:44 +0200 Subject: [PATCH] add new expected/ignored files - letsencrypt-privkey.pem and letsencrypt-staging-privkey.pem - pubkeys/ directories for iked an isakmpd (when enabled) - run/ and zones/ directory for nsd (when enabled) --- sysclean.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sysclean.pl b/sysclean.pl index cb3b635..6ea5c32 100755 --- a/sysclean.pl +++ b/sysclean.pl @@ -158,6 +158,8 @@ sub add_expected_base '/bsd.rd' => 1, '/bsd.sp' => 1, '/obsd' => 1, + '/etc/acme/letsencrypt-privkey.pem' => 1, + '/etc/acme/letsencrypt-staging-privkey.pem' => 1, '/etc/fstab' => 1, '/etc/hosts' => 1, '/etc/installurl' => 1, @@ -224,6 +226,7 @@ sub add_expected_rcctl $self->{expected}{'/var/account/acct.3'} = 1; $self->{expected}{'/var/account/savacct'} = 1; $self->{expected}{'/var/account/usracct'} = 1; + } elsif ('apmd' eq $_) { $self->{expected}{'/etc/apm'} = 1; $self->{expected}{'/etc/apm/suspend'} = 1; @@ -237,10 +240,20 @@ sub add_expected_rcctl $self->{expected}{'/etc/hotplug/attach'} = 1; $self->{expected}{'/etc/hotplug/detach'} = 1; + } elsif ('iked' eq $_) { + $self->{ignored}{'/etc/iked/pubkeys'} = 1; + + } elsif ('isakmpd' eq $_) { + $self->{ignored}{'/etc/isakmpd/pubkeys'} = 1; + } elsif ('lpd' eq $_) { $self->{expected}{'/etc/printcap'} = 1; $self->{ignored}{'/var/spool/output/lpd'} = 1; + } elsif ('nsd' eq $_) { + $self->{ignored}{'/var/nsd/run'} = 1; + $self->{ignored}{'/var/nsd/zones'} = 1; + } elsif ('smtpd' eq $_) { $self->{expected}{'/etc/mail/aliases.db'} = 1;