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
This commit is contained in:
Felix Fietkau
2015-01-24 13:41:04 +00:00
parent 730e24cfaa
commit 33e96691ce

View File

@@ -148,5 +148,5 @@ restart() {
shutdown() {
ifdown -a
stop
sleep 1
}