diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 13:41:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 13:41:04 +0000 |
commit | 18d4b8783cdfa8cce976e9f36156a632c9818db5 (patch) | |
tree | 7a5c6122f62b53bfd61d7cbc8c960c1e9d5a1e0e /package/network/config | |
parent | 639f388fc2499726b8ccb03bb4aa71c8fc4ed536 (diff) | |
download | mtk-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-x | package/network/config/netifd/files/etc/init.d/network | 2 |
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 } |