summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.linkup
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-02-25 10:16:09 -0600
committerLuiz Otavio O Souza <luiz@netgate.com>2016-02-25 10:16:09 -0600
commit9e7cc828c0cb8c1970a0d43c4d1f069898c6fafc (patch)
tree10b3dbe0ba496d9650dbea7ff62c19fc6b4f1861 /src/etc/rc.linkup
parent94bb4420c60d7e05d4e13da6a52f1cf0a33beed4 (diff)
downloadpfsense-9e7cc828c0cb8c1970a0d43c4d1f069898c6fafc.zip
pfsense-9e7cc828c0cb8c1970a0d43c4d1f069898c6fafc.tar.gz
Remove unnecessary includes. Remove an always true if().
No functional changes.
Diffstat (limited to 'src/etc/rc.linkup')
-rwxr-xr-xsrc/etc/rc.linkup6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/etc/rc.linkup b/src/etc/rc.linkup
index dafd56d..881f3d7 100755
--- a/src/etc/rc.linkup
+++ b/src/etc/rc.linkup
@@ -49,9 +49,7 @@ function handle_argument_group($iface, $argument2) {
}
if (!isset($config['interfaces'][$iface]['enable'])) {
- if (!platform_booting()) {
- log_error("Linkup detected on disabled interface...Ignoring");
- }
+ log_error("Linkup detected on disabled interface...Ignoring");
return;
}
@@ -94,8 +92,6 @@ function handle_argument_group($iface, $argument2) {
case "up":
log_error("DEVD Ethernet attached event for {$iface}");
log_error("HOTPLUG: Configuring interface {$iface}");
- require_once("vpn.inc");
- require_once("captiveportal.inc");
// Do not try to readd to bridge otherwise em(4) has problems
interface_configure($iface, true, true);
break;
OpenPOWER on IntegriCloud