On Ubuntu 18.04/18.10 I have missed the rc.local file that had helped me a few (thousand) times. Have you missed it too? By default, the file does not exit, but the service behind is present, so not everything is lost.
First of all, let's create the file and set the correct perms
> touch /etc/rc.local
> chmod +x /etc/rc.local
> chmod +x /etc/rc.local
and then let's give it the correct format
> echo "#!/bin/bash
exit 0" > /etc/rc.local
exit 0" > /etc/rc.local
and it will work. You can check the state of the service as well with
> systemctl status rc-local
and start/stop it if you want to make any test.
No hay comentarios:
Publicar un comentario