netifd: fix an error message during network shutdown
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Oct 2014 19:37:25 +0000 (19:37 +0000)
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Oct 2014 19:37:25 +0000 (19:37 +0000)
commit618e2d08f5078b50c648a8f9e519b5fb74ed10c8
tree983a392c3af471f93ab8ce09bceeabecaedc4e16
parent16095cc9b5fe48f8b29ba12d78d450501ae3ffed
netifd: fix an error message during network shutdown

When 'wifi down' is called by /etc/init.d/network, it is run from
stop_service( ). This function is in turn invoked from stop( ).
stop( ) messes up the order by first procd_kill-ing the network
settings, then calling wifi to down the wifi networking
interfaces. By redefining stop( ) instead, the proper order is
restored.

Signed-off-by: Michel Stam <m.stam@fugro.nl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42745 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/config/netifd/files/etc/init.d/network