From 6bafe82e3008ec2e3aa5a001c5895b0d3f12406c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 13 Mar 2005 00:56:42 +0000 Subject: Add IP of remote box to ssh to and run the server piece. --- packages/carp_sync_client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php index 9857529e..5037a90b 100644 --- a/packages/carp_sync_client.php +++ b/packages/carp_sync_client.php @@ -42,6 +42,6 @@ if($config['installedpackages']['carpsettings']['config'] != "") fclose($fout); /* copy configuration to remote host */ mwexec("/usr/bin/scp {$g['tmp_path']}/rules_section.txt root@{$synchronizetoip}:/tmp/"); - mwexec("/usr/bin/ssh /usr/local/pkg/carp_sync_server.php"); + mwexec("/usr/bin/ssh {$synchronizetoip} /usr/local/pkg/carp_sync_server.php"); } -- cgit v1.2.3