diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-10-13 22:41:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-10-13 22:41:09 +0000 |
commit | 98b480861d17b54d76174a6f11f9791f2dd20c91 (patch) | |
tree | 76d6aeecb709db76532a98a5dfde8417e518c08f /etc/inc/config.inc | |
parent | 069c6a921a799c4e8ff238f895286e7d724fed2f (diff) | |
download | pfsense-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.inc | 4 |
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)) { |