diff options
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index b61130a..2d39df6 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -157,9 +157,6 @@ echo "Loading configuration..."; parse_config_bootup(); echo "done.\n"; -$lan_if = $config['interfaces']['lan']['if']; -$wan_if = get_real_interface(); - /* * Determine if we need to throw a interface exception * and ask the user to reassign interfaces. This will @@ -168,6 +165,11 @@ $wan_if = get_real_interface(); while(is_interface_mismatch() == true) { led_assigninterfaces(); echo "\nNetwork interface mismatch -- Running interface assignment option.\n"; + $ifaces = get_interface_list(); + if (is_array($ifaces)) { + foreach($ifaces as $iface => $ifdata) + interfaces_bring_up($iface); + } set_networking_interfaces_ports(); led_kitt(); } |