From 18d4b8783cdfa8cce976e9f36156a632c9818db5 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 24 Jan 2015 13:41:04 +0000
Subject: [PATCH] netifd: do not stop service on shutdown, only call ifdown

Also add a small delay, like on restart

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44096
---
 package/network/config/netifd/files/etc/init.d/network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network
index fbba9ecb1c..542fc08958 100755
--- a/package/network/config/netifd/files/etc/init.d/network
+++ b/package/network/config/netifd/files/etc/init.d/network
@@ -148,5 +148,5 @@ restart() {
 
 shutdown() {
 	ifdown -a
-	stop
+	sleep 1
 }
-- 
GitLab