summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/stop_xss.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-system/stop_xss.sh')
-rwxr-xr-xabs/core/LinHES-system/stop_xss.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/LinHES-system/stop_xss.sh b/abs/core/LinHES-system/stop_xss.sh
new file mode 100755
index 0000000..4bb9d1a
--- /dev/null
+++ b/abs/core/LinHES-system/stop_xss.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+while [ 1=1 ];
+do
+
+ if [ "$(pidof chromium)" -o "$(pidof huludesktop)" -o "$(pidof xbmc.bin)" ]
+ then
+ xscreensaver-command -deactivate
+ fi
+ sleep 60
+
+done