summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2012-02-28 00:45:52 (GMT)
committerMichael Hanson <mihanson@linhes.org>2012-02-28 00:45:52 (GMT)
commitc99bc29e7809e31d4647641dd9152cd9ea2470bf (patch)
tree3576c7b01e7e5a23d2a6d44a7013cfada40465fd /abs/core/linhes-scripts
parent71d96013726763f077f74ea3bc96c43db61a8a5f (diff)
parentf5acdc079164abbdcecb95f36eeebd375eb47f8b (diff)
downloadlinhes_pkgbuild-c99bc29e7809e31d4647641dd9152cd9ea2470bf.zip
linhes_pkgbuild-c99bc29e7809e31d4647641dd9152cd9ea2470bf.tar.gz
linhes_pkgbuild-c99bc29e7809e31d4647641dd9152cd9ea2470bf.tar.bz2
Merge branch 'testing' of linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/linhes-scripts')
-rw-r--r--abs/core/linhes-scripts/PKGBUILD6
-rw-r--r--abs/core/linhes-scripts/stop_xss.sh12
2 files changed, 16 insertions, 2 deletions
diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD
index a50faf8..8b7bb1f 100644
--- a/abs/core/linhes-scripts/PKGBUILD
+++ b/abs/core/linhes-scripts/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=linhes-scripts
pkgver=7
-pkgrel=27
+pkgrel=29
pkgdesc="Various scripts that help to make LinHES, LinHES."
arch=('i686' 'x86_64')
license=('GPL2')
@@ -49,6 +49,7 @@ upgrade_screen_rc
upgrade_linhes_script.sh
find_orphans.py
acl_fix_fstab.py
+stop_xss.sh
)
build() {
@@ -101,4 +102,5 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5'
'974c137d3fcb85942ba8945a1bc815fe'
'4b8671376fad6d76874508434d42fbfd'
'd8838461af9d446a1fd7e7883fdc75d1'
- 'cc9cdabcdfc969c2829b58c0e513488c')
+ 'cc9cdabcdfc969c2829b58c0e513488c'
+ 'cb16a30491c4352eb0eee11c2bca91f9')
diff --git a/abs/core/linhes-scripts/stop_xss.sh b/abs/core/linhes-scripts/stop_xss.sh
new file mode 100644
index 0000000..c600795
--- /dev/null
+++ b/abs/core/linhes-scripts/stop_xss.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+while [ 1=1 ];
+do
+
+ if [ "$(pidof chromium)" -o "$(pidof huludesktop)" ]
+ then
+ xscreensaver-command -deactivate
+ fi
+ sleep 60
+
+done