diff options
author | Simon Rettberg | 2017-11-27 19:07:33 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-27 19:07:33 +0100 |
commit | 3ef4eafe45b49261865c82f2b7b7648c00d356b8 (patch) | |
tree | deb197991ed5c784b9bccca6b775cd5712112df0 /core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init | |
parent | [idleaction] Fix active user counting (diff) | |
download | mltk-3ef4eafe45b49261865c82f2b7b7648c00d356b8.tar.gz mltk-3ef4eafe45b49261865c82f2b7b7648c00d356b8.tar.xz mltk-3ef4eafe45b49261865c82f2b7b7648c00d356b8.zip |
[idleaction] Fix shutdown after wakeup when cron tries to catch up
Diffstat (limited to 'core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init')
-rwxr-xr-x | core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init | 4 |
1 files changed, 2 insertions, 2 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 ae8af404..304b4a63 100755 --- a/core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init +++ b/core/modules/idleaction/data/opt/openslx/scripts/systemd-idleaction_init @@ -60,8 +60,8 @@ if [ -n "$TEST" ]; then fi if [ -n "$NEXT" ]; then - # Always assume RTC is UTC so rtcwake will not assume the RTC does DST changes - rtcwake -u -m no -t "$NEXT" + # Set -l and hope it does the right thing on DST + rtcwake -l -m no -t "$NEXT" else rtcwake -m disable fi |