netifd: do not stop service on shutdown, only call ifdown
authorFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 13:41:04 +0000 (13:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 13:41:04 +0000 (13:41 +0000)
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

index fbba9ecb1ccc8673bc0d88be385dbba022126c6b..542fc08958e001c2bfce7668ecd7d1c52a649e4e 100755 (executable)
@@ -148,5 +148,5 @@ restart() {
 
 shutdown() {
        ifdown -a
-       stop
+       sleep 1
 }