OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) can’t autostart ospi.py…rc.local or init.d Re: Re: can’t autostart ospi.py…rc.local or init.d

#25467

LLMoon
Member

I am struggling with this as well. Got the init.d script created and chmod to executable. This is the response I get when I attempt to get status:

pi@jlm-rpi ~ $ /etc/init.d/ospi status
-bash: /etc/init.d/ospi: /bin/sh^M: bad interpreter: No such file or directory

There is a file /bin/sh but it is not text, cannot tell what it is. Any advice from the Linux gurus?

We will be away from Thursday July 17 to Monday July 21. Orders placed after 3pm EST July 17
will be shipped on Tuesday July 22. Thank you for your understanding!
This is default text for notification bar