RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    rc.local not working after update

    Scheduled Pinned Locked Moved Help and Support
    scriptloadstart
    6 Posts 3 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      qqplayer
      last edited by qqplayer

      After updating retropie "rc.local" is not autoloading my scripts on startup.
      Worked fine before the update.
      Any idea whats going wrong?

      1 Reply Last reply Reply Quote 0
      • obsidianspiderO
        obsidianspider
        last edited by

        Dumb question, but is the rc.local file intact? Meaning, did updating your Pi accidentally wipe out the contents of that file?

        📷 @obsidianspider

        1 Reply Last reply Reply Quote 0
        • Q
          qqplayer
          last edited by

          Yes , I have a working backup image and I pasted the content onto rc.local

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators
            last edited by BuZz

            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

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • Q
              qqplayer
              last edited by qqplayer

              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.

              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by

                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.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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.