summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-12 23:13:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-12 23:13:42 +0000
commit82a7eb4a294efbe78804065eb3de76e371614b46 (patch)
tree347a3e9f2c0c5bbdfde1fa262536659499d4fe6e /etc/inc/interfaces.inc
parentfafdfe286845b1a73f4f0575d78a648493ee6376 (diff)
downloadpfsense-82a7eb4a294efbe78804065eb3de76e371614b46.zip
pfsense-82a7eb4a294efbe78804065eb3de76e371614b46.tar.gz
Bring up optional and or LAN interface too
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 564b968..42c9ed7 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -150,6 +150,7 @@ function interfaces_lan_configure() {
mwexec("/sbin/ifconfig {$config['interfaces'][$lancfg['bridge']]['if']} up");
mwexec("/sbin/ifconfig {$lancfg['if']} up");
mwexec("/sbin/ifconfig bridge{$bridges_total} down");
+ mwexec("/sbin/ifconfig {$lancfg['if']} up");
mwexec("/sbin/ifconfig bridge{$bridges_total} up");
}
@@ -307,6 +308,7 @@ function interfaces_optional_configure_if($opti) {
mwexec("/sbin/ifconfig {$config['interfaces'][$optcfg['bridge']]['if']} up");
mwexec("/sbin/ifconfig {$optcfg['if']} up");
mwexec("/sbin/ifconfig bridge{$bridges_total} down");
+ mwexec("/sbin/ifconfig {$optcfg['if']} up");
mwexec("/sbin/ifconfig bridge{$bridges_total} up");
OpenPOWER on IntegriCloud