1
0
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:
Travis Kemen 2008-04-15 16:29:49 +00:00
parent 67fd9d7fba
commit 37b0cc9a10

View File

@ -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