mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
19 lines
282 B
Plaintext
19 lines
282 B
Plaintext
LED1="/dev/led/led1"
|
|
LED2="/dev/led/led2"
|
|
LED3="/dev/led/led3"
|
|
LEDKO="/boot/kernel/apuled.ko"
|
|
|
|
if [ ! -e /boot/kernel/apuled.ko ]; then
|
|
exit 0
|
|
fi
|
|
|
|
kldload $LEDKO 2>&1
|
|
|
|
echo "m-" > $LED1
|
|
echo "m -" > $LED2
|
|
echo "m -" > $LED3
|
|
sleep 2
|
|
echo 1 > $LED1
|
|
echo 1 > $LED2
|
|
echo 1 > $LED3
|