Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 20984

Re: How to set Python Environment prior to login so can run a python program at startup

$
0
0

Found the answer

I added the command to start the python program to the galileod.sh script and now works

 

start_galileod()
{
    echo "Starting galileod"
    start-stop-daemon -q -S -m -p $pidfile -b -x $launcher
    start-stop-daemon -q -S -m -p $pidsreset -b -x $sreset -- -i $input_reset_gpio -o $output_reset_gpio
    /usr/bin/python /media/realroot/wiring/testLCD.py&

 

}
regards

rgb


Viewing all articles
Browse latest Browse all 20984

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>