diff options
author | Erich Eckner <git@eckner.net> | 2024-01-07 08:38:33 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-01-07 08:38:33 +0100 |
commit | 1a5819201a5ae656e97f1e9b202d9c1f57aff395 (patch) | |
tree | ff3ca2c955e94602a1a3bbf4b555c2ed6745ec3c | |
parent | d2c2e33f61de5a6f626e9127b02de3265d6a1d97 (diff) | |
download | computer-time-limit-1a5819201a5ae656e97f1e9b202d9c1f57aff395.tar.xz |
mehr Stops senden
-rwxr-xr-x | computer-time-limit | 1 |
1 files changed, 1 insertions, 0 deletions
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 |