Where is "rc.local" located?
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+
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
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.
@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
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 /
Is the file to enable shuutdown script.