mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-02 01:35:01 +02:00
21 lines
200 B
Plaintext
21 lines
200 B
Plaintext
|
#!/bin/sh /etc/rc.common
|
||
|
START=40
|
||
|
STOP=90
|
||
|
|
||
|
start() {
|
||
|
setup_switch() { return 0; }
|
||
|
|
||
|
include /lib/network
|
||
|
setup_switch
|
||
|
|
||
|
ubus call network reload
|
||
|
}
|
||
|
|
||
|
restart() {
|
||
|
start
|
||
|
}
|
||
|
|
||
|
stop() {
|
||
|
/sbin/ifdown -a
|
||
|
}
|