610 B
610 B
title | date | url | layout | category |
---|---|---|---|---|
Run a script at Raspberry boot | 2015-04-11 | run-a-script-at-rasbperry-boot | post | Hacking |
There is many ways to execute a script after the boot sequence of Raspberry, but the easier for me was to put it in the Kernel's local run commands.
To set it up, edit :
# nano /etc/rc.local
... and put your line execution before the IP part, like the example with a Python script like on the screen-shot upper.
python /path/to/your/script.py &