diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-13 00:56:42 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-13 00:56:42 +0000 |
commit | 6bafe82e3008ec2e3aa5a001c5895b0d3f12406c (patch) | |
tree | 9f6a5f397cd181fa2450eaeed801c50a830b4439 | |
parent | ca68197ba1e6e6aab60a1118f663c7f6dae5c141 (diff) | |
download | pfsense-packages-6bafe82e3008ec2e3aa5a001c5895b0d3f12406c.tar.gz pfsense-packages-6bafe82e3008ec2e3aa5a001c5895b0d3f12406c.tar.bz2 pfsense-packages-6bafe82e3008ec2e3aa5a001c5895b0d3f12406c.zip |
Add IP of remote box to ssh to and run the server piece.
-rw-r--r-- | packages/carp_sync_client.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |