From 69a92ec0906ba3e06315dca79d75ec679f9ea1a4 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Tue, 4 May 2004 09:40:57 +0000 Subject: [PATCH] yay! hotplug for wds support SVN-Revision: 16 --- root/sbin/hotplug | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 root/sbin/hotplug diff --git a/root/sbin/hotplug b/root/sbin/hotplug new file mode 100755 index 0000000000..74134e848a --- /dev/null +++ b/root/sbin/hotplug @@ -0,0 +1,6 @@ +#!/bin/ash +# $Id$ +[ "${INTERFACE%%[0-9]*}" = "wds" ] && { + ifconfig $INTERFACE 0.0.0.0 up + /usr/sbin/brctl addif br0 $INTERFACE +}