Open jdchristensen opened 11 years ago
The following version of the startup script is cleaner in a few ways:
#!/bin/sh #Version 0.2 - add in & to allow simulatenous running of handler and Scratch #Version 0.3 - change sp launches rsc.sb from "/home/pi/Documents/Scratch Projects" #Version 0.4 - 20Mar13 meltwater - change to use provided name for home sudo pkill -9 -f scratch_gpio_handler2.py trap 'sudo pkill -9 -f scratch_gpio_handler2.py' 0 1 2 3 7 9 11 13 15 sudo python /home/pi/simplesi_scratch_handler/scratch_gpio_handler2.py & scratch --document "/home/pi/Documents/Scratch Projects/rsc.sb"
The following version of the startup script is cleaner in a few ways: