Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3560

Beginners Questions • [Hardware] How to change the behaviour of board LED at boot

$
0
0
Thank you Aki.

I have a play but I will do a backup first.

I am fairly new so I have not really understood totally what command to include so the echo instruction runs.

If I try to call it from root without entering the subdirectory then it fails.

I tried a few ways but they all failed.

echo /sys/class/leds/green_led\default-on > trigger

-bash /sys/class/leds/green_led\echo default-on > trigger

bash /sys/class/leds/green_led\echo default-on > trigger

/sys/class/leds/green_led\echo default-on > trigger

So I am sure that it is the syntax that is wrong but I just need to understand how to run it either by creating a script or a config file.

What is hard to understand is how to place the instruction in the folder as root in any of those cases.

Kind regards.

Statistics: Posted by munecito — 2024-09-20 08:33 — Replies 2 — Views 69



Viewing all articles
Browse latest Browse all 3560

Trending Articles