summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/interfaces.inc2
-rwxr-xr-xetc/rc.linkup2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 705457b..09f21a9 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -45,8 +45,6 @@
require_once("globals.inc");
require_once("util.inc");
require_once("gwlb.inc");
-require_once("vpn.inc");
-require_once("captiveportal.inc");
function interfaces_bring_up($interface) {
if(!$interface) {
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 4dc3058..0c6db18 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -73,6 +73,8 @@ 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