add an initial (experimental) version of netifd, disabled by default
[openwrt/staging/chunkeey.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
14 restart() {
15 start
16 }
17
18 stop() {
19 /sbin/ifdown -a
20 }