perf_manager: turn off all leds when turning off.

we need this so that when we do a reset the leds is known to be off.
This commit is contained in:
Kenneth Johansson 2016-11-24 12:56:49 +01:00 committed by Sukru Senli
parent c4a65ad164
commit b2dcd3a853

View file

@ -20,7 +20,8 @@ service_running() {
ubus -t 2 wait_for button
}
stop() {
service_stop /sbin/peripheral_manager
stop_service() {
ubus call leds set '{"state":"alloff"}'
service_stop /sbin/peripheral_manager
}