aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/carp.xml12
-rw-r--r--packages/carp_sync_client.php3
-rw-r--r--packages/carp_sync_server.php3
3 files changed, 2 insertions, 16 deletions
diff --git a/packages/carp.xml b/packages/carp.xml
index 21650e2a..e1d77b1c 100644
--- a/packages/carp.xml
+++ b/packages/carp.xml
@@ -3,14 +3,6 @@
<name>carp</name>
<version>0.1.0</version>
<title>Services: CARP (failover)</title>
- <modify_system>
- <item>
- <modifyfilename>/etc/crontab</modifyfilename>
- <textneeded>
-*/5 * * * * root nice -n 20 /usr/local/pkg/pf/carp_sync_client.php
- </textneeded>
- </item>
- </modify_system>
<!-- Menu is where this packages menu will appear -->
<menu>
<name>CARP (failover)</name>
@@ -39,12 +31,12 @@
<item>http://www.pfsense.com/packages/config/carp_settings.xml</item>
</additional_files_needed>
<additional_files_needed>
- <prefix>/usr/local/pkg/</prefix>
+ <prefix>/usr/local/pkg/pf/</prefix>
<chmod>a+x</chmod>
<item>http://www.pfsense.com/packages/config/carp_sync_client.php</item>
</additional_files_needed>
<additional_files_needed>
- <prefix>/usr/local/pkg/</prefix>
+ <prefix>/usr/local/pkg/pf/</prefix>
<chmod>a+x</chmod>
<nosync/>
<item>http://www.pfsense.com/packages/config/carp_sync_server.php</item>
diff --git a/packages/carp_sync_client.php b/packages/carp_sync_client.php
index f32f6e36..9857529e 100644
--- a/packages/carp_sync_client.php
+++ b/packages/carp_sync_client.php
@@ -1,7 +1,5 @@
#!/usr/bin/php
-<?php
-
/*
carp_sync.php
part of pfSense (www.pfSense.com)
@@ -47,4 +45,3 @@ if($config['installedpackages']['carpsettings']['config'] != "")
mwexec("/usr/bin/ssh /usr/local/pkg/carp_sync_server.php");
}
-?> \ No newline at end of file
diff --git a/packages/carp_sync_server.php b/packages/carp_sync_server.php
index 30249fa7..fdef4571 100644
--- a/packages/carp_sync_server.php
+++ b/packages/carp_sync_server.php
@@ -1,7 +1,5 @@
#!/usr/bin/php
-<?php
-
/*
carp_sync.php
part of pfSense (www.pfSense.com)
@@ -40,4 +38,3 @@ if($config['installedpackages']['carpsettings']['config'] != "")
restore_config_section("rules", $rules);
}
-?> \ No newline at end of file