aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
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
commit18d4b8783cdfa8cce976e9f36156a632c9818db5 (patch)
tree7a5c6122f62b53bfd61d7cbc8c960c1e9d5a1e0e /package/network
parent639f388fc2499726b8ccb03bb4aa71c8fc4ed536 (diff)
downloadupstream-18d4b8783cdfa8cce976e9f36156a632c9818db5.tar.gz
upstream-18d4b8783cdfa8cce976e9f36156a632c9818db5.tar.bz2
upstream-18d4b8783cdfa8cce976e9f36156a632c9818db5.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> SVN-Revision: 44096
Diffstat (limited to 'package/network')
-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
}