From e1735a617d5e2befb8237277b69a9f5a16e85daa Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 31 Oct 2011 07:21:21 +0100 Subject: [PATCH] rename vzdump cron file to vzdump.cron --- data/PVE/Cluster.pm | 6 +++--- data/src/status.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index afedb13..16cea0b 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -50,7 +50,7 @@ my $sshauthkeys = "/etc/pve/priv/authorized_keys"; my $rootsshauthkeys = "/root/.ssh/authorized_keys"; my $observed = { - 'vzdump' => 1, + 'vzdump.cron' => 1, 'storage.cfg' => 1, 'datacenter.cfg' => 1, 'cluster.cfg' => 1, @@ -331,7 +331,7 @@ __EOD sub gen_pve_vzdump_symlink { - my $filename = "/etc/pve/vzdump"; + my $filename = "/etc/pve/vzdump.cron"; my $link_fn = "/etc/cron.d/vzdump"; @@ -343,7 +343,7 @@ sub gen_pve_vzdump_symlink { sub gen_pve_vzdump_files { - my $filename = "/etc/pve/vzdump"; + my $filename = "/etc/pve/vzdump.cron"; PVE::Tools::file_set_contents($filename, $vzdump_cron_dummy) if ! -f $filename; diff --git a/data/src/status.c b/data/src/status.c index 6608d01..a6f2c39 100644 --- a/data/src/status.c +++ b/data/src/status.c @@ -81,7 +81,7 @@ static memdb_change_t memdb_change_array[] = { { .path = "domains.cfg" }, { .path = "priv/shadow.cfg" }, { .path = "datacenter.cfg" }, - { .path = "vzdump" }, + { .path = "vzdump.cron" }, }; static GStaticMutex mutex = G_STATIC_MUTEX_INIT; -- 2.39.5