netifd: bring wifi down before shutting down

works around wifiX references not being freed on network restart.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36883
master
Jonas Gorski 12 years ago
parent da7590cd21
commit b9de8ca7f5
  1. 1
      package/network/config/netifd/files/etc/init.d/network

@ -37,6 +37,7 @@ shutdown() {
}
stop() {
/sbin/wifi down
service_stop /sbin/netifd
}

Loading…
Cancel
Save