mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-16 18:30:37 +02:00
5cecffbb27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
245 B
Bash
Executable File
24 lines
245 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
START=40
|
|
STOP=90
|
|
|
|
start() {
|
|
setup_switch() { return 0; }
|
|
|
|
include /lib/network
|
|
setup_switch
|
|
|
|
ifup -a
|
|
grep -qs config /etc/config/wireless && {
|
|
/sbin/wifi up
|
|
}
|
|
}
|
|
|
|
restart() {
|
|
start
|
|
}
|
|
|
|
stop() {
|
|
/sbin/ifdown -a
|
|
}
|