2006-10-05 04:05:48 +08:00
|
|
|
#!/bin/sh /etc/rc.common
|
2006-08-02 07:19:54 +08:00
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
2006-07-30 11:09:09 +08:00
|
|
|
|
2006-10-05 04:05:48 +08:00
|
|
|
start() {
|
|
|
|
setup_switch() { return 0; }
|
|
|
|
|
|
|
|
include /lib/network
|
|
|
|
setup_switch
|
2006-10-15 23:27:34 +08:00
|
|
|
[ -e /etc/config/wireless ] || \
|
|
|
|
/sbin/wifi detect > /etc/config/wireless
|
|
|
|
/sbin/wifi up
|
2006-10-05 04:05:48 +08:00
|
|
|
}
|
2006-07-30 11:09:09 +08:00
|
|
|
|