From 36ce824000fa6789e75d3457b4a9923624a53aa4 Mon Sep 17 00:00:00 2001 From: Franscobec Date: Sun, 18 Jan 2026 19:24:27 -0500 Subject: [PATCH] Add systemd-units/backtotty.service --- systemd-units/backtotty.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 systemd-units/backtotty.service 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