diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-09 21:19:32 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-09 21:19:32 -0400 |
commit | c9fa825423373b9616ab59e816c4c7b7e7d04e7b (patch) | |
tree | cfe0aa131ce07913e249eacde57333f4444b50a9 | |
parent | 5b74202bec0a2afd597473cedb2994243c583cf7 (diff) | |
download | pfsense-c9fa825423373b9616ab59e816c4c7b7e7d04e7b.zip pfsense-c9fa825423373b9616ab59e816c4c7b7e7d04e7b.tar.gz |
Show disabled interfaces as well
-rw-r--r-- | etc/inc/config.console.inc | 15 | ||||
-rwxr-xr-x | etc/rc.initial.setlanip | 2 |
2 files changed, 10 insertions, 7 deletions
diff --git a/etc/inc/config.console.inc b/etc/inc/config.console.inc index 3365963..5c5590c 100644 --- a/etc/inc/config.console.inc +++ b/etc/inc/config.console.inc @@ -411,13 +411,8 @@ EODD; write_config(); echo "done.\n"; - echo <<<EOD - - - -EOD; - fclose($fp); + if($g['booting']) return; @@ -461,6 +456,14 @@ EOD; return null; } +function interfaces_setup() { + global $iflist, $config, $g, $fp; + + $iflist = get_interface_list(); + + +} + function vlan_setup() { global $iflist, $config, $g, $fp; diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index e196c1e..1aacfb1 100755 --- a/etc/rc.initial.setlanip +++ b/etc/rc.initial.setlanip @@ -62,7 +62,7 @@ $addr_blank = false; /* build an interface collection */ - $ifdescrs = get_configured_interface_with_descr(); + $ifdescrs = get_configured_interface_with_descr(false, true); $j = count($ifdescrs); /* grab interface that we will operate on, unless there is only one |