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
This commit is contained in:
parent
1c166058df
commit
73179a188c
1 changed files with 2 additions and 1 deletions
|
@ -32,8 +32,9 @@ reload_service() {
|
|||
/sbin/wifi reload_legacy
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
stop() {
|
||||
/sbin/wifi down
|
||||
procd_kill network ''
|
||||
}
|
||||
|
||||
service_running() {
|
||||
|
|
Loading…
Reference in a new issue