summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-10-13 22:40:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-10-13 22:40:22 +0000
commiteb566cd3021a47927a50b1090364715caec5a5cb (patch)
tree9d59ff3f31b27e418e2aeaff94f47c985b4f514e /etc
parentaea4964f8b40db66e7b938ef7785844954fe7f5a (diff)
downloadpfsense-eb566cd3021a47927a50b1090364715caec5a5cb.zip
pfsense-eb566cd3021a47927a50b1090364715caec5a5cb.tar.gz
Allow the interface assignment code to exit from its strict checking. This allows Netboot installation services to work correctly.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 9bc502c..a939f18 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1450,6 +1450,10 @@ EOD;
return;
}
+ if($lanif == "exit") {
+ exit;
+ }
+
if ($lanif === "a")
$lanif = autodetect_interface("LAN", $fp);
else if (!array_key_exists($lanif, $iflist)) {
OpenPOWER on IntegriCloud