[tools] mpc: update to 0.9
[openwrt.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 }
This page took 0.073191 seconds and 5 git commands to generate.