RevPi Connect: Initialize variables after flushing new image

Topics about the Software of Revolution Pi
Post Reply
dvadasz
Posts: 2
Joined: 28 May 2019, 14:48
Answers: 0

RevPi Connect: Initialize variables after flushing new image

Post by dvadasz »

Hi,
I'm creating a custom image based on the original RevPI image.
After the image is flushed to the device I'm facing an issue that piTest tool cannot find any variables (for example: RevPiLED).
The issue can be solved with starting PiCtory and adding device to configuration. After save and driver restart the variable is found.
I guess: configuration files are generated and some processes restarted, piControl maybe ?

I want to completely disable the Web GUI for Revolution PI, so the questions is:
How can i initialize the RevPiLED variable programmatically? What kind of configuration files must be prepared manually ?

Thanks for your help
User avatar
dirk
KUNBUS
Posts: 1950
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: RevPi Connect: Initialize variables after flushing new image

Post by dirk »

Hi you may copy a valid "config.rsc" file to "/etc/revpi". Disabling the Webserver is easy just disable the Apache2 daemon

Code: Select all

sudo systemctl disable apache2
dvadasz
Posts: 2
Joined: 28 May 2019, 14:48
Answers: 0

Re: RevPi Connect: Initialize variables after flushing new image

Post by dvadasz »

Thanks! It worked!
Post Reply