From 2fb010e2f6564e70e4e31fc0deb317a536fdf86a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 14 Mar 2005 18:54:24 +0000 Subject: Cleanup files after processing. --- packages/carp_sync_client.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/carp_sync_client.php') 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"); } } } -- cgit v1.2.3