|
Instead of editing the /lib/systemd/system/serial-getty@.service.d/override.conf file, it would be better to create a new file /etc/systemd/system/serial-getty@.service.d/override.conf, possibly empty to completely revert the customization in the override.conf file in /lib/systemd...
This prevents updates using apt from reverting your customization.
So just do- mkdir -p /etc/systemd/system/serial-getty@.service.d
Copy code and- touch /etc/systemd/system/serial-getty@.service.d/override.conf
Copy code (and also for the 'normal' getty, if you wish) as root. |
|