diff --git a/apps/shell/shell-reboot.c b/apps/shell/shell-reboot.c index 6b8152bd2..ded90cf5f 100644 --- a/apps/shell/shell-reboot.c +++ b/apps/shell/shell-reboot.c @@ -56,6 +56,9 @@ SHELL_COMMAND(reboot_command, PROCESS_THREAD(shell_reboot_process, ev, data) { static struct etimer etimer; + + PROCESS_EXITHANDLER(leds_off(LEDS_ALL);) + PROCESS_BEGIN(); shell_output_str(&reboot_command,