From e4a8b8b0aab56d10fb79b4d1c60f4ef62e769292 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 20 Aug 2006 02:40:11 +0000 Subject: Do not allow package to be installed if carp interfaces detected. Alert user of reason that its crashing and burning. This will be rectified once miniupnpd can be instructed of a external ip to use instead of relying on its broken logic in this case. --- packages/miniupnpd/miniupnpd.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/miniupnpd/miniupnpd.xml') 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 @@ interfaces_selection + + $ints = `ifconfig -l`; + if(stristr($ints, "carp")) { + update_output_window("This package is not compatible with CARP."); + exit; + } + sync_package_miniupnpd(); -- cgit v1.2.3