From 37b0cc9a100b8f8b6761bdbe2b1c4c5aba64f0ad Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Tue, 15 Apr 2008 16:29:49 +0000 Subject: [PATCH] fix restart on platforms without a setup_switch() SVN-Revision: 10846 --- package/base-files/files/etc/init.d/network | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network index 6b1f13c2fa..e77db02517 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 -- 2.25.1