diff options
author | Cecil <knoppmyth@gmail.com> | 2012-02-28 00:35:11 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-02-28 00:35:11 (GMT) |
commit | aa91976fc4dfe0c60029aa0faeff1656b2cbb1b4 (patch) | |
tree | 1f6086e9568cca4bfdaa87c7714215c46347a1c0 | |
parent | 1d4780e207e2271278a6ba3d48185c80c91bed66 (diff) | |
download | linhes_pkgbuild-aa91976fc4dfe0c60029aa0faeff1656b2cbb1b4.zip linhes_pkgbuild-aa91976fc4dfe0c60029aa0faeff1656b2cbb1b4.tar.gz linhes_pkgbuild-aa91976fc4dfe0c60029aa0faeff1656b2cbb1b4.tar.bz2 |
linhes-scripts:Added stop_xss.sh.
-rw-r--r-- | abs/core/linhes-scripts/PKGBUILD | 6 | ||||
-rw-r--r-- | abs/core/linhes-scripts/stop_xss.sh | 12 |
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 |