Skip to content

Commit

Permalink
Update logind_session_timeout/not_configured.fail to handle if the sy…
Browse files Browse the repository at this point in the history
…stemd config is not there
  • Loading branch information
Mab879 committed Jan 22, 2025
1 parent 12279d1 commit d8e527a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
# variables = var_logind_session_timeout = 5_minutes

mkdir -p /etc/systemd
touch /etc/systemd/logind.conf

sed -i '/^.*StopIdleSessionSec.*$/d' /etc/systemd/logind.conf

0 comments on commit d8e527a

Please sign in to comment.