aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/carp.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/carp.xml b/packages/carp.xml
index b1891522..e971deed 100644
--- a/packages/carp.xml
+++ b/packages/carp.xml
@@ -260,8 +260,8 @@
}
fclose($fout);
- chmod("/usr/local/etc/rc.d/carp.sh", 0755);
- mwexec("/usr/local/etc/rc.d/carp.sh");
+ chmod("/usr/local/pkg/pf/carp.sh", 0755);
+ mwexec("/usr/local/pkg/pf/carp.sh");
if($using_arp_balance == 1) mwexec("sysctl net.inet.arpbalance=1");
if($preempt == 1) mwexec("sysctl net.inet.carp.preempt=1");
conf_mount_ro();
@@ -279,5 +279,6 @@
unlink_if_exists("/usr/local/pkg/carp*");
unlink_if_exists("/usr/local/pkg/pf/carp*");
unlink_if_exists("/usr/local/etc/rc.d/carp*");
+ unlink_if_exists("/usr/local/pkg/pf/carp*");
</custom_php_deinstall_command>
</packagegui>