From 6ef6e039c19620a56fb0986d7a4bbb24cf7c76fc Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 27 Aug 2005 15:40:56 +0000 Subject: move hotplug script into an extra package so that it doesn't conflict with nas git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1772 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/base-files/files/hotplug | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 openwrt/package/base-files/files/hotplug (limited to 'openwrt/package/base-files/files') diff --git a/openwrt/package/base-files/files/hotplug b/openwrt/package/base-files/files/hotplug new file mode 100755 index 000000000..74134e848 --- /dev/null +++ b/openwrt/package/base-files/files/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 +} -- cgit v1.2.3