diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-15 15:27:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-15 15:27:34 +0000 |
commit | 2d072c599779ce1b76df480b9da7cd3c3e65425c (patch) | |
tree | 3be3fcf509c5ada3fbc27932a94ad107d2a1abfc /package/base-files/default/etc | |
parent | 6c27c88271de6c4e3eda940c766c2768d4fb88d3 (diff) | |
download | master-31e0f0ae-2d072c599779ce1b76df480b9da7cd3c3e65425c.tar.gz master-31e0f0ae-2d072c599779ce1b76df480b9da7cd3c3e65425c.tar.bz2 master-31e0f0ae-2d072c599779ce1b76df480b9da7cd3c3e65425c.zip |
implement simple device autodetection for wifi drivers
SVN-Revision: 5113
Diffstat (limited to 'package/base-files/default/etc')
-rwxr-xr-x | package/base-files/default/etc/init.d/S40network | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/default/etc/init.d/S40network b/package/base-files/default/etc/init.d/S40network index be045045e7..c7720369fd 100755 --- a/package/base-files/default/etc/init.d/S40network +++ b/package/base-files/default/etc/init.d/S40network @@ -6,6 +6,8 @@ start() { include /lib/network setup_switch - /sbin/wifi + [ -e /etc/config/wireless ] || \ + /sbin/wifi detect > /etc/config/wireless + /sbin/wifi up } |