From d37c5c518e40e35a4b21281c86de7ba2ab1df439 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/openwrt@1772 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/hotplug | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 package/base-files/files/hotplug (limited to 'package/base-files/files') diff --git a/package/base-files/files/hotplug b/package/base-files/files/hotplug new file mode 100755 index 000000000..74134e848 --- /dev/null +++ b/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