projects
/
openwrt
/
staging
/
yousong.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
455bf411b16ecc9dd03ffc2506ca90d4d6ad0769
[openwrt/staging/yousong.git]
/
package
/
netifd
/
files
/
etc
/
init.d
/
network
1
#!/bin/sh /etc/rc.common
2
START
=
40
3
STOP
=
90
4
5
start
() {
6
setup_switch
() {
return
0
; }
7
8
include
/
lib
/
network
9
setup_switch
10
11
ubus call network reload
12
13
grep
-qs
config
/
etc
/
config
/
wireless
&& {
14
/
sbin
/
wifi up
15
}
16
}
17
18
restart
() {
19
start
20
}
21
22
stop
() {
23
/
sbin
/
ifdown
-a
24
}