mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-07 17:32:49 +02:00
6a7cd57cdb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28738 3c298f89-4303-0410-b956-a3cf2f4a3e73
25 lines
263 B
Bash
Executable File
25 lines
263 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
START=40
|
|
STOP=90
|
|
|
|
start() {
|
|
setup_switch() { return 0; }
|
|
|
|
include /lib/network
|
|
setup_switch
|
|
|
|
ubus call network reload
|
|
|
|
grep -qs config /etc/config/wireless && {
|
|
/sbin/wifi up
|
|
}
|
|
}
|
|
|
|
restart() {
|
|
start
|
|
}
|
|
|
|
stop() {
|
|
/sbin/ifdown -a
|
|
}
|