summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-10-13 22:41:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-10-13 22:41:09 +0000
commit98b480861d17b54d76174a6f11f9791f2dd20c91 (patch)
tree76d6aeecb709db76532a98a5dfde8417e518c08f /etc/inc/config.inc
parent069c6a921a799c4e8ff238f895286e7d724fed2f (diff)
downloadpfsense-98b480861d17b54d76174a6f11f9791f2dd20c91.zip
pfsense-98b480861d17b54d76174a6f11f9791f2dd20c91.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/inc/config.inc')
-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 54f987e..2906d6f 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1319,6 +1319,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