diff --git a/systemd-units/backtotty.service b/systemd-units/backtotty.service new file mode 100644 index 0000000..5f9fe55 --- /dev/null +++ b/systemd-units/backtotty.service @@ -0,0 +1,12 @@ +[Unit] +Description=Return to terminal +After=graphical-session.target + +[Service] +Type=oneshot +ExecStart=/bin/bash -c '/opt/scripts/backtotty.sh' +User=root +NoNewPrivileges=true + +[Install] +WantedBy=multi-user.target \ No newline at end of file