rpi_zram icon indicating copy to clipboard operation
rpi_zram copied to clipboard

rc.local not available on new versions

Open diveyez opened this issue 5 years ago • 3 comments

diveyez avatar Apr 28 '19 00:04 diveyez

Same here. I found https://askubuntu.com/questions/9853/how-can-i-make-rc-local-run-on-startup which links to https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd. The first gives the /etc/rc.local schema, and the second lists the commands to make systemd work and play well with /etc/rc.local

jejones3141 avatar Apr 28 '19 04:04 jejones3141

You can also manually make a file named rc.local with sudo echo exit 0 > /etc/rc.local

winexe0 avatar Jul 10 '20 04:07 winexe0

Can confirm this worked on PI OS Buster, and a few other OS's I tested on.

rmiddle avatar Dec 09 '21 05:12 rmiddle