mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-20 04:36:11 +04:00
fix restart on platforms without a setup_switch()
SVN-Revision: 10846
This commit is contained in:
1 parent
67fd9d7fba
commit
37b0cc9a10
1 file changed
+2
@@ -20,6 +20,8 @@ start() {
|
||||
}
|
||||
|
||||
restart() {
|
||||
setup_switch() { return 0; }
|
||||
|
||||
include /lib/network
|
||||
setup_switch
|
||||
ifup -a
|
||||
|
||||
Reference in new issue
Block a user