summaryrefslogtreecommitdiff
path: root/package/network/config
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/config
parent639f388fc2499726b8ccb03bb4aa71c8fc4ed536 (diff)
downloadmtk-20170518-18d4b8783cdfa8cce976e9f36156a632c9818db5.zip
mtk-20170518-18d4b8783cdfa8cce976e9f36156a632c9818db5.tar.gz
mtk-20170518-18d4b8783cdfa8cce976e9f36156a632c9818db5.tar.bz2
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/config')
-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 fbba9ec..542fc08 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
}