diff options
author | Simon Rettberg | 2019-10-18 16:53:23 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-10-18 16:53:23 +0200 |
commit | 437f024c41ff8070340124c66dfaf1e505cd5048 (patch) | |
tree | d9c13c2832c8ebce8779fb5c6ac30cabac2cb6d1 /core | |
parent | [cups] Add hplip for HP-specific filters (diff) | |
download | mltk-437f024c41ff8070340124c66dfaf1e505cd5048.tar.gz mltk-437f024c41ff8070340124c66dfaf1e505cd5048.tar.xz mltk-437f024c41ff8070340124c66dfaf1e505cd5048.zip |
[idleaction] Pass --kill-user-processes by default
Diffstat (limited to 'core')
-rwxr-xr-x | core/modules/idleaction/data/opt/openslx/scripts/idle-daemon-launcher | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/idleaction/data/opt/openslx/scripts/idle-daemon-launcher b/core/modules/idleaction/data/opt/openslx/scripts/idle-daemon-launcher index 3f20ca5e..24b52679 100755 --- a/core/modules/idleaction/data/opt/openslx/scripts/idle-daemon-launcher +++ b/core/modules/idleaction/data/opt/openslx/scripts/idle-daemon-launcher @@ -32,5 +32,8 @@ for t in $SLX_SHUTDOWN_SCHEDULE; do CMD="$CMD --poweroff $t" done +if [ "$SLX_ALLOW_USER_BGTASK" != "yes" ]; then + CMD="$CMD --kill-user-processes" +fi exec /opt/openslx/sbin/idle-daemon $CMD |