mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 04:50:12 +01:00
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:
parent
c4a65ad164
commit
b2dcd3a853
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue