Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Where is "rc.local" located?

    Recalbox General
    where rc.local located
    3
    8
    939
    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.
    • yeeshkul
      yeeshkul last edited by yeeshkul

      I can't find the rc.local file.
      It should be in etc folder but it is not there.
      I was gonna see it the SafeShutdown.py is properly iniciated.
      This may be the reason the script doesn't work.

      Raspberry Pi 3 B+
      6.1.1-DragonBlaze

      Please help. Thank you.

      Here is what i have in the etc folder

      # ls /etc
      avahi                group                localtime            os-release           shadow
      bluetooth            hostname             logrotate.d          passwd               sixad.profile
      ctdb                 hosts                mke2fs.conf          profile              ssl
      dbus-1               init.d               modprobe.d           profile.d            sudoers.d
      default              inittab              modules.conf         protocols            timezone
      dhcpcd.conf          inittab.busybox      moonlight.conf       random-seed          udev
      dropbear             inputrc              mtab                 resolv.conf          usbmount
      emulationstation     issue                network              retroarch.cfg        wgetrc
      fonts                libnl                nsswitch.conf        samba                wireless-regdb
      fstab                lirc                 ntp.conf             services             wpa_supplicant.conf
      
      1 Reply Last reply Reply Quote 0
      • acris
        acris last edited by

        Rc.local not exist
        It s not raspbian

        1 Reply Last reply Reply Quote 0
        • yeeshkul
          yeeshkul last edited by

          Thank you. So from which file the scripts are iniciated?
          I need to uninstall a script and want to do it properly.

          1 Reply Last reply Reply Quote 0
          • ian57
            ian57 Staff last edited by

            @yeeshkul All starting scripts are in /etc/init.d, move the file you want to remove out of this directory and it will not started anymore

            "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

            yeeshkul 1 Reply Last reply Reply Quote 0
            • yeeshkul
              yeeshkul @ian57 last edited by

              @ian57 Excellent, thank you Ian.

              1 Reply Last reply Reply Quote 0
              • yeeshkul
                yeeshkul last edited by

                One more question please - when i want to remove the file
                rm /etc/init.d/S99RetroFlag
                the system returns
                can't remove '/etc/init.d/S99RetroFlag': Read-only file system

                When i want to edit the file it says
                File '/etc/init.d/S99RetroFlag' is unwritable

                How to change mode of a file so it can be edited or erased please?

                yeeshkul 1 Reply Last reply Reply Quote 0
                • yeeshkul
                  yeeshkul @yeeshkul last edited by

                  @yeeshkul I think i got it

                  mount -o remount, rw /

                  1 Reply Last reply Reply Quote 0
                  • acris
                    acris last edited by

                    Recalbox.conf
                    Is the file to enable shuutdown script.

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

                    Want to support us ?

                    78
                    Online

                    98.6k
                    Users

                    28.1k
                    Topics

                    187.0k
                    Posts

                    Copyright © 2021 recalbox.com