diff --git a/peripheral_manager/files/etc/init.d/peripheral_manager b/peripheral_manager/files/etc/init.d/peripheral_manager index 34c5e1e17..c0e1beb8f 100755 --- a/peripheral_manager/files/etc/init.d/peripheral_manager +++ b/peripheral_manager/files/etc/init.d/peripheral_manager @@ -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 }