mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-06-15 03:33:52 +02:00
fix restart on platforms without a setup_switch()
SVN-Revision: 10846
This commit is contained in:
parent
67fd9d7fba
commit
37b0cc9a10
|
@ -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