aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/miniupnpd/miniupnpd.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/miniupnpd/miniupnpd.xml b/packages/miniupnpd/miniupnpd.xml
index f2f144d3..859f70d9 100644
--- a/packages/miniupnpd/miniupnpd.xml
+++ b/packages/miniupnpd/miniupnpd.xml
@@ -53,6 +53,13 @@
<type>interfaces_selection</type>
</field>
</fields>
+ <custom_install_php_command>
+ $ints = `ifconfig -l`;
+ if(stristr($ints, "carp")) {
+ update_output_window("This package is not compatible with CARP.");
+ exit;
+ }
+ </custom_install_php_command>
<custom_add_php_command>
sync_package_miniupnpd();
</custom_add_php_command>