aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-24 13:41:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-24 13:41:04 +0000
commit33e96691ce5cf4ffb6ea8c0691b2f7c5815ba410 (patch)
tree249ab5cf82b5c04841f0d9ea78db0bc3e864f9ea /package
parent730e24cfaa057e56d8fbfac25682fdf3c4c515b7 (diff)
downloadupstream-33e96691ce5cf4ffb6ea8c0691b2f7c5815ba410.tar.gz
upstream-33e96691ce5cf4ffb6ea8c0691b2f7c5815ba410.tar.bz2
upstream-33e96691ce5cf4ffb6ea8c0691b2f7c5815ba410.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44096 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/network/config/netifd/files/etc/init.d/network2
1 files changed, 1 insertions, 1 deletions
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
}