raspberry pi v 2 1.1

Thanks
LEE QICHENG
i gotten no such file found or directory but i have itDougieLawson wrote: ↑Sat Oct 28, 2017 6:47 pmWhat happens if you open a LXterminal window and run sudo /etc/rc.local or sudo bash -x /etc/rc.local to get lots of debugging messages?
I dun think i have written anything on line 23 please enlighten me thanks
Code: Select all
sudo dos2unix /etc/rc.local
Code: Select all
sudo sed -i "s/\r//" /etc/rc.local
Yup that fix my problems thanks i will learn from this and keep this in mine thanks manrpdom wrote: ↑Sat Oct 28, 2017 7:09 pmYou've been using a windows editor or something. It has changed the line endings from just a newline (NL = "\n") to CRNL ("\r\n") instead.
Try stripping out the unwanted CR characters. You can do this by installing the dos2unix package and runningor use something like sed to edit itCode: Select all
sudo dos2unix /etc/rc.local
Code: Select all
sudo sed -i "s/\r//" /etc/rc.local