rc.local has been removed because systemd is supposed to be able to handle anything that would be done in rc.local, through custom service files. However, many people, like me, prefer to use rc.local, because it is familiar and avoids learning the details of creating sytemd service files.
In a terminal, e.g.konsole:
- Code: Select all
su -
touch /etc/rc.d/rc.local
- Code: Select all
kwrite /etc/rc.d/rc.local
- Code: Select all
#!/bin/bash
- Code: Select all
chmod +x /etc/rc.d/rc.local
When you re-boot, systemd will activate it's rc-local.service and execute the file.
(You can use any text editor that you prefer, such as gedit, in place of kwrite. I always end bash scripts and config files with a blank line - some won't function correctly without it.)
I have no experience with SSD devices and so cannot comment on the usefulness of the advice that you quoted.
Jim