aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-13 00:54:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-13 00:54:28 +0000
commit81edc833f874bfbf635bd4a0357963f96b0a6226 (patch)
treee34067891e85795e359abf520cb29c05d8458603 /packages
parentee419ae16710cdbc37d885ac1802f09c5543121d (diff)
downloadpfsense-packages-81edc833f874bfbf635bd4a0357963f96b0a6226.tar.gz
pfsense-packages-81edc833f874bfbf635bd4a0357963f96b0a6226.tar.bz2
pfsense-packages-81edc833f874bfbf635bd4a0357963f96b0a6226.zip
Revert last commits. Its a better idea to only sync when rules actually CHANGE.
Diffstat (limited to 'packages')
-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