mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01: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() {
|
||||
setup_switch() { return 0; }
|
||||
|
||||
include /lib/network
|
||||
setup_switch
|
||||
ifup -a
|
||||
|
Loading…
Reference in New Issue
Block a user