aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-31 04:19:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-31 04:19:20 +0000
commit13e7fe7f0984d0de0f0eb111732b940babfee8de (patch)
tree672693255d7734566616f99889b4d5f4569cb52c /packages/carp.xml
parent39e145680184309968ab1e601e6445201510a2d2 (diff)
downloadpfsense-packages-13e7fe7f0984d0de0f0eb111732b940babfee8de.tar.gz
pfsense-packages-13e7fe7f0984d0de0f0eb111732b940babfee8de.tar.bz2
pfsense-packages-13e7fe7f0984d0de0f0eb111732b940babfee8de.zip
If the old location of carp.sh exists, delete it.
Diffstat (limited to 'packages/carp.xml')
-rw-r--r--packages/carp.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/carp.xml b/packages/carp.xml
index c24a4f22..b1891522 100644
--- a/packages/carp.xml
+++ b/packages/carp.xml
@@ -216,6 +216,7 @@
*/
conf_mount_rw();
config_lock();
+ if(file_exists("/usr/local/etc/rc.d/carp.sh")) system("rm /usr/local/etc/rc.d/carp.sh");
$fout = fopen("/usr/local/pkg/pf/carp.sh","w");
fwrite($fout, "#!/bin/sh \n");
global $config;