Revision 9e7cc828
Added by Luiz Souza over 9 years ago
src/etc/rc.linkup | ||
---|---|---|
49 | 49 |
} |
50 | 50 |
|
51 | 51 |
if (!isset($config['interfaces'][$iface]['enable'])) { |
52 |
if (!platform_booting()) { |
|
53 |
log_error("Linkup detected on disabled interface...Ignoring"); |
|
54 |
} |
|
52 |
log_error("Linkup detected on disabled interface...Ignoring"); |
|
55 | 53 |
return; |
56 | 54 |
} |
57 | 55 |
|
... | ... | |
94 | 92 |
case "up": |
95 | 93 |
log_error("DEVD Ethernet attached event for {$iface}"); |
96 | 94 |
log_error("HOTPLUG: Configuring interface {$iface}"); |
97 |
require_once("vpn.inc"); |
|
98 |
require_once("captiveportal.inc"); |
|
99 | 95 |
// Do not try to readd to bridge otherwise em(4) has problems |
100 | 96 |
interface_configure($iface, true, true); |
101 | 97 |
break; |
Also available in: Unified diff
Remove unnecessary includes. Remove an always true if().
No functional changes.