From 3d26f7a1762619b812ec654367eeeda888fc28e2 Mon Sep 17 00:00:00 2001 From: Paul Goldschmidt Date: Sat, 10 Apr 2021 21:29:57 +0200 Subject: [PATCH] Added instructions on how to start automatically --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e62e929..5abb8f0 100644 --- a/README.md +++ b/README.md @@ -31,4 +31,9 @@ Options for netledPi and hddledPi: netledPi and hddledPi need super-user privileges, so you have to start them with "sudo", e.g. sudo netledPi -d -p 29 + If you want to start the program at startup, go into the file /etc/rc.local (sudo nano /etc/rc.local) and add the folowing lines (assuming the compiled script is located in /usr/local/bin/): + sudo /usr/local/bin/netledPi -d + sudo /usr/local/bin/hddledPi -d + + I have only tested the programs on Raspbian.