summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2019-05-15 10:00:55 +0200
committerSimon Rettberg2019-05-15 10:00:55 +0200
commit52ccd4843af1451a0e2d56e84b8ebc51c15a2ae6 (patch)
treeb852a203cd7c746ec0a3cda977adaa433488afb0 /core
parent[idleaction] Write screensaver hint file on vmchooser session start (diff)
downloadmltk-52ccd4843af1451a0e2d56e84b8ebc51c15a2ae6.tar.gz
mltk-52ccd4843af1451a0e2d56e84b8ebc51c15a2ae6.tar.xz
mltk-52ccd4843af1451a0e2d56e84b8ebc51c15a2ae6.zip
[screen-standby] Remove forgotten interfering module
Screen standby is now handled by the idle-daemon
Diffstat (limited to 'core')
l---------core/modules/screen-standby/data/etc/X11/Xreset.d/screen-standby1
l---------core/modules/screen-standby/data/etc/X11/Xsession.d/screen-standby1
l---------core/modules/screen-standby/data/etc/X11/Xsetup.d/screen-standby1
-rwxr-xr-xcore/modules/screen-standby/data/opt/openslx/scripts/screen-standby30
-rw-r--r--core/modules/screen-standby/module.build24
-rw-r--r--core/modules/screen-standby/module.conf11
l---------core/targets/stage32-bwlp/screen-standby1
7 files changed, 0 insertions, 69 deletions
diff --git a/core/modules/screen-standby/data/etc/X11/Xreset.d/screen-standby b/core/modules/screen-standby/data/etc/X11/Xreset.d/screen-standby
deleted file mode 120000
index b25fe082..00000000
--- a/core/modules/screen-standby/data/etc/X11/Xreset.d/screen-standby
+++ /dev/null
@@ -1 +0,0 @@
-/opt/openslx/scripts/screen-standby \ No newline at end of file
diff --git a/core/modules/screen-standby/data/etc/X11/Xsession.d/screen-standby b/core/modules/screen-standby/data/etc/X11/Xsession.d/screen-standby
deleted file mode 120000
index b25fe082..00000000
--- a/core/modules/screen-standby/data/etc/X11/Xsession.d/screen-standby
+++ /dev/null
@@ -1 +0,0 @@
-/opt/openslx/scripts/screen-standby \ No newline at end of file
diff --git a/core/modules/screen-standby/data/etc/X11/Xsetup.d/screen-standby b/core/modules/screen-standby/data/etc/X11/Xsetup.d/screen-standby
deleted file mode 120000
index b25fe082..00000000
--- a/core/modules/screen-standby/data/etc/X11/Xsetup.d/screen-standby
+++ /dev/null
@@ -1 +0,0 @@
-/opt/openslx/scripts/screen-standby \ No newline at end of file
diff --git a/core/modules/screen-standby/data/opt/openslx/scripts/screen-standby b/core/modules/screen-standby/data/opt/openslx/scripts/screen-standby
deleted file mode 100755
index 11691fbd..00000000
--- a/core/modules/screen-standby/data/opt/openslx/scripts/screen-standby
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/ash
-
-# This is usually sourced by Xstartup/session/reset
-
-do_standby_stuff () {
- . /opt/openslx/config
- # Make sure SLX_SCREEN_STANDBY_TIMEOUT is numeric
- TO=${SLX_SCREEN_STANDBY_TIMEOUT}
- [ -n "${SLX_EXAM}" ] && TO=0
- [ -z "${TO}" ] && TO=0
- [ "${TO}" -gt 0 ] || [ "${TO}" -lt 100 ] || TO=600
- [ "${TO}" -lt 0 ] && TO=0
- MIN=$(( TO / 60 ))
- [ "$MIN" -gt 60 ] && MIN=60
- # Set
- setterm -blank "$MIN"
- setterm -powerdown "$MIN"
- if [ "${TO}" = 0 ]; then
- # Off
- xset s "${TO}" "${TO}"
- xset s off -dpms
- else
- xset +dpms
- xset s "${TO}" "${TO}"
- fi
-}
-
-do_standby_stuff &
-true
-
diff --git a/core/modules/screen-standby/module.build b/core/modules/screen-standby/module.build
deleted file mode 100644
index 8de1bdd1..00000000
--- a/core/modules/screen-standby/module.build
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-fetch_source() {
- :
-}
-
-build() {
-
- for BIN in $REQUIRED_BINARIES; do
- BIN_LOCATION=$(which ${BIN})
- if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ]; then
- tarcopy "$(get_link_chain ${BIN_LOCATION})" "${MODULE_BUILD_DIR}"
- else
- perror "'${BIN}' not found on the system."
- fi
- done
-
- COPYLIST="list_dpkg_output"
- list_packet_files > "$COPYLIST"
- tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
-}
-
-post_copy() {
- :
-}
diff --git a/core/modules/screen-standby/module.conf b/core/modules/screen-standby/module.conf
deleted file mode 100644
index 1e03a8b8..00000000
--- a/core/modules/screen-standby/module.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-REQUIRED_MODULES="
- xorg
-"
-REQUIRED_BINARIES="
- setterm
- xset
-"
-REQUIRED_LIBRARIES=""
-REQUIRED_DIRECTORIES="
-"
diff --git a/core/targets/stage32-bwlp/screen-standby b/core/targets/stage32-bwlp/screen-standby
deleted file mode 120000
index 7930482f..00000000
--- a/core/targets/stage32-bwlp/screen-standby
+++ /dev/null
@@ -1 +0,0 @@
-../../modules/screen-standby \ No newline at end of file