summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 59c604e..682adb1 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -52,6 +52,12 @@ function handle_argument_group($iface, $argument2) {
interface_bring_down($iface);
break;
case "start":
+ log_error("DEVD Ethernet attached event for {$iface}");
+ $riface = get_real_interface($iface);
+ exec("/usr/sbin/arp -d -i {$riface} -a");
+ log_error("HOTPLUG: Configuring interface {$iface}");
+ interface_configure($iface);
+ break;
case "up":
log_error("DEVD Ethernet attached event for {$iface}");
$riface = get_real_interface($iface);
OpenPOWER on IntegriCloud