diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2005-08-27 15:40:56 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2005-08-27 15:40:56 +0000 |
| commit | 4bb21d84479c8ec5236c946f83a8fdf11dd9ffb8 (patch) | |
| tree | e2319778e8220eceba515b172b6e57864b980db2 /openwrt/package/base-files/files/hotplug | |
| parent | 138fee69d1146783d97eed8a4fbd26c1a7e6930d (diff) | |
| download | mtk-20170518-4bb21d84479c8ec5236c946f83a8fdf11dd9ffb8.zip mtk-20170518-4bb21d84479c8ec5236c946f83a8fdf11dd9ffb8.tar.gz mtk-20170518-4bb21d84479c8ec5236c946f83a8fdf11dd9ffb8.tar.bz2 | |
move hotplug script into an extra package so that it doesn't conflict with nas
SVN-Revision: 1772
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 0000000..74134e8 --- /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 +} |
