move data out of /etc and in to /var

This commit is contained in:
2020-01-15 10:49:40 -05:00
parent a52124e582
commit 3149ec2cea
2 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@ use Martnet::DDNS;
my $ddns = Martnet::DDNS->new();
my $path = '/etc/bind';
my $datapath = '/var/lib/bind';
my %files = ( 'custom.zones.9' => '_custom',
'martnet.zones.9' => '_custom',
@ -21,7 +21,7 @@ our %fixes = ( '_custom' => 'add-custom',
);
foreach my $i (keys %files) {
validate_file($path . '/' . $i, $files{$i});
validate_file($datapath . '/' . $i, $files{$i});
}
exit 0;