I need to start and print a script on tty1 instead of asking for login.In link with : How to parse /proc/cmdline before asking tty login with systemdI tried to make a service which launch a simple bash script:#!/bin/bashecho trying to print this on screen before tty loginread okAnd the service:[Unit]Description=Before tty login script launcher[Service]Type=simpleExecStart=/bin/bash -c /opt/starter.sh[Install]WantedBy=getty.targetAfter that cd /lib/systemd/system ; ln -s ./starter.service ./getty.target.wants/starter.serviceAt boot, it keep launching tty login without prompting my script.I don't want to start script after login cause, script needs root privileges, so if somebody CTRL+C, he will have root access.
How to start a script on tty instead of asking for login in systemd?
shell script;systemd