diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-27 15:40:56 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-27 15:40:56 +0000 |
commit | 6ef6e039c19620a56fb0986d7a4bbb24cf7c76fc (patch) | |
tree | e2319778e8220eceba515b172b6e57864b980db2 /openwrt/package/base-files/files/hotplug | |
parent | dda7e72867768ade01cf3244b8ac3702e86448f0 (diff) |
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
Diffstat (limited to 'openwrt/package/base-files/files/hotplug')
-rwxr-xr-x | openwrt/package/base-files/files/hotplug | 6 |
1 files changed, 6 insertions, 0 deletions
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 +} |