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
August 30, 2013 at 3:31 am
#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:
[email protected] ~ $ /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?