From 1a5819201a5ae656e97f1e9b202d9c1f57aff395 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 7 Jan 2024 08:38:33 +0100 Subject: mehr Stops senden --- computer-time-limit | 1 + 1 file changed, 1 insertion(+) diff --git a/computer-time-limit b/computer-time-limit index 3e38282..78bb2a1 100755 --- a/computer-time-limit +++ b/computer-time-limit @@ -71,6 +71,7 @@ still_logged_in() { check_time() { if [ "${noch}" -le 0 ]; then + sende_msg stop loginctl session-status | sed -n 's/ .*$//;1p' | xargs -r loginctl terminate-session fi if [ "${noch}" -lt 3600 ] && [ "${noch}" -gt 3540 ]; then -- cgit v1.2.3-70-g09d2