netifd: fix an error message during network shutdown
authorSteven Barth <cyrus@openwrt.org>
Thu, 2 Oct 2014 19:37:25 +0000 (19:37 +0000)
committerSteven Barth <cyrus@openwrt.org>
Thu, 2 Oct 2014 19:37:25 +0000 (19:37 +0000)
commit73179a188c6eed4db08ed5f9e109fae17db6575e
tree8613959825d73de4ee9726ed8e28545eced9fd11
parent1c166058df1392987c831d810cdd88301e06f9c9
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>
SVN-Revision: 42745
package/network/config/netifd/files/etc/init.d/network