aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp_sync_client.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-14 18:54:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-14 18:54:24 +0000
commit2fb010e2f6564e70e4e31fc0deb317a536fdf86a (patch)
tree7144950482cec7059a25dba2ebc9e481259c3698 /packages/carp_sync_client.php
parent17b839d2f6eac0cf6df0a95cb47a9f52029569d3 (diff)
downloadpfsense-packages-2fb010e2f6564e70e4e31fc0deb317a536fdf86a.tar.gz
pfsense-packages-2fb010e2f6564e70e4e31fc0deb317a536fdf86a.tar.bz2
pfsense-packages-2fb010e2f6564e70e4e31fc0deb317a536fdf86a.zip
Cleanup files after processing.
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");
}
}
}