rc.local not working after update
-
After updating retropie "rc.local" is not autoloading my scripts on startup.
Worked fine before the update.
Any idea whats going wrong? -
Dumb question, but is the rc.local file intact? Meaning, did updating your Pi accidentally wipe out the contents of that file?
-
Yes , I have a working backup image and I pasted the content onto rc.local
-
Please provide more info. Eg, the location of file. The current contents. The file permissions (
ls -l /etc/rc.local
) Please use an external pastebin site or style the contents using code blocks - https://retropie.org.uk/forum/topic/3/read-this-first -
Well as I said was working perfectly before update retropie.
The location is "/etc/rc.local"
Permissions "rwxr-xr-x" owner "root"I´m using this file to start a gpio tft waveshare screen.
The content of the file is:<script src="//pastebin.com/embed_js/HtdiL4nj"></script>
All commands are working if I execute them from putty or console.
-
I would prefer if you posted the exact output of ls rather than typing it in manually in a different format.
Note you can't embed pastebin data here - just post a link.
You should remove the sudo lines form rc.local -
/var/log/syslog
might contain details of why it isn't working.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.