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)
commitc9061c5f3d5ce8c1ba74601090f073bd228b602c
tree983a392c3af471f93ab8ce09bceeabecaedc4e16
parent80dfb7cc1f309194a668531bcb0577f1f8e59e46
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