X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=root%2Fsbin%2Fhotplug;fp=root%2Fsbin%2Fhotplug;h=74134e848ac75b68ed86e801b5d24b5645146bd2;hb=83ad9f6c02a9bf92805b6cabcf47ee7082c26a9f;hp=0000000000000000000000000000000000000000;hpb=e748d3881e7368631d4052c0cc915927848e2a53;p=openwrt-10.03%2F.git diff --git a/root/sbin/hotplug b/root/sbin/hotplug new file mode 100755 index 000000000..74134e848 --- /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 +}