mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
d4d91df5fe
SVN-Revision: 28738
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
|
|
}
|