在systemd中,如何进行配置?
#!/bin/bash mkdir /etc/systemd/system/getty@.service.d cat >/etc/systemd/system/getty@.service.d/noclear.conf <<EOF [Service] TTYVTDisallocate=no EOF systemctl daemon-reload
参考文献
Stop Clearing My God Damned Console
Prevent the console from clearing the screen?