From: Mike Baker Date: Tue, 4 May 2004 09:40:57 +0000 (+0000) Subject: yay! hotplug for wds support X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=69a92ec0906ba3e06315dca79d75ec679f9ea1a4;p=librecmc%2Flibrecmc.git yay! hotplug for wds support SVN-Revision: 16 --- 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 +}