mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 23:00:16 +02:00
fix restart on platforms without a setup_switch()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10846 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3c79348550
commit
c435eff562
@ -20,6 +20,8 @@ start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
restart() {
|
restart() {
|
||||||
|
setup_switch() { return 0; }
|
||||||
|
|
||||||
include /lib/network
|
include /lib/network
|
||||||
setup_switch
|
setup_switch
|
||||||
ifup -a
|
ifup -a
|
||||||
|
Loading…
Reference in New Issue
Block a user