LED Panic Trigger

modulename: ledtrig-panic.ko


Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
└─>LED Trigger support
└─>LED Panic Trigger
In linux kernel since version 4.1 (release Date: 2015-06-21)  
This allows LEDs to be configured to blink on a kernel panic.
Enabling this option will allow to mark certain LEDs as panic indicators,
allowing to blink them on a kernel panic, even if they are set to
a different trigger.
If unsure, say Y.

source code: