image: allow autologin on tty1

This commit is contained in:
Markus Rudy 2024-11-26 10:55:28 +01:00
parent fbdf1db053
commit 1b225bd91c
5 changed files with 18 additions and 12 deletions

View file

@ -2,7 +2,6 @@ enable systemd-timesyncd.service
enable systemd-networkd.service
enable systemd-networkd-wait-online.service
enable configure-constel-csp.service
enable serial-getty@tty0.service
enable dbus.service
enable dbus-broker.service
enable dbus-daemon.service

View file

@ -0,0 +1,11 @@
[Unit]
Description=autologin
ConditionPathExists=/proc/cmdline
ConditionKernelCommandLine=|constel.console
ConditionKernelCommandLine=|constel.debug
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin root %I $TERM
[Install]
WantedBy=multi-user.target

View file

@ -1,8 +1,8 @@
[Unit]
Description=autologin
ConditionPathExists=/proc/cmdline
ConditionKernelCommandLine=|constellation.console
ConditionKernelCommandLine=|constellation.debug
ConditionKernelCommandLine=|constel.console
ConditionKernelCommandLine=|constel.debug
[Service]
ExecStart=