Script in RC.Local issues - Raspberry Pi Forums


hi all,

have built pi wildlife/moment sensor camera , wanted scrip auto run drop in place, power , walk away (it runs via 12vdc battery run pi , ir led light array).

have added script rc.local using python /home/pi/script.py &

works - cannot stop enable pi booted either command line or gui !!

have edited this, how can remove or stop process? can see rc.local via winscp , can open cannot edit (i presume in use?).

ideas please?

hewesy wrote:i can see rc.local via winscp , can open cannot edit (i presume in use?).
i think cannot edit /etc/rc.local because connected user pi, not root. try rename /home/pi/script.py else instead. otherwise install putty alongside winscp on pc , able log in , run commands (including sudo) rather upload files.

did include "&" on command in rc.local? if script running in background should not blocking rest of boot.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support