Recalbox 7.0

Where is "rc.local" located?



  • 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
    

  • Global moderator
    Team

    Rc.local not exist
    It s not raspbian



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


  • Developer
    Global moderator
    Creator
    Team

    @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



  • @ian57 Excellent, thank you Ian.



  • 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 I think i got it

    mount -o remount, rw /


  • Global moderator
    Team

    Recalbox.conf
    Is the file to enable shuutdown script.



Want to support us ?

210
Online

79.2k
Users

20.4k
Topics

149.3k
Posts