aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_sync_client.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/carp_sync_client.php')
-rw-r--r--packages/carp_sync_client.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index 12f54afc..cfe59d4b 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -52,6 +52,9 @@ if($config['installedpackages']['carpsettings']['config'] != "") {
mwexec("/usr/bin/scp {$g['tmp_path']}/aliases_section.txt root@{$synchronizetoip}:/tmp/");
mwexec("/usr/bin/scp {$g['tmp_path']}/nat_section.txt root@{$synchronizetoip}:/tmp/");
mwexec("/usr/bin/ssh {$synchronizetoip} /usr/local/pkg/carp_sync_server.php");
+ unlink("{$g['tmp_path']}/rules_section.txt");
+ unlink("{$g['tmp_path']}/aliases_section.txt");
+ unlink("{$g['tmp_path']}/nat_section.txt");
}
}
}