summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-17 15:13:02 +0100
committerSimon Rettberg2024-01-17 15:13:02 +0100
commitcce879ac2b1018b34f24df65146df335c527ac23 (patch)
tree90621ec066c1653f39eff98bb14ac017d688a33f
parent[vmchooser2] Properly implement the re-autologin delay (diff)
downloadmltk-cce879ac2b1018b34f24df65146df335c527ac23.tar.gz
mltk-cce879ac2b1018b34f24df65146df335c527ac23.tar.xz
mltk-cce879ac2b1018b34f24df65146df335c527ac23.zip
[idleaction] Delete rm of unused flag-file
-rwxr-xr-xcore/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init b/core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init
index a89de524..2d4507c6 100755
--- a/core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init
+++ b/core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init
@@ -20,12 +20,6 @@ if [ "$1" = "suspend" ]; then
# If we're about to suspend, consider reboot and shutdown too - we
# need to wake up to execute these
SCHEDULE="$SCHEDULE $SLX_SHUTDOWN_SCHEDULE $SLX_REBOOT_SCHEDULE"
- # Delete this so the idle timeout will be reset
- # Otherwise a user might wake the PC up right before
- # cron fires the idle action check, which could
- # shut the machine down right away because the timestamp
- # from the file looks quite old
- rm -f -- /run/openslx/idlehint
fi # suspend == true
SCHEDULE=$( echo ${SCHEDULE} ) # poor man's trim