From: Travis Kemen Date: Tue, 15 Apr 2008 16:29:49 +0000 (+0000) Subject: fix restart on platforms without a setup_switch() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=37b0cc9a100b8f8b6761bdbe2b1c4c5aba64f0ad;p=openwrt%2Fstaging%2Frmilecki.git fix restart on platforms without a setup_switch() SVN-Revision: 10846 --- diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network index 6b1f13c2fae..e77db02517d 100755 --- a/package/base-files/files/etc/init.d/network +++ b/package/base-files/files/etc/init.d/network @@ -20,6 +20,8 @@ start() { } restart() { + setup_switch() { return 0; } + include /lib/network setup_switch ifup -a