iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix paths due to no fixing bashrc on ssh
[distro-setup]
/
filesystem
/
etc
/
X11
/
Xsession.d
/
98iank
diff --git
a/filesystem/etc/X11/Xsession.d/98iank
b/filesystem/etc/X11/Xsession.d/98iank
index fa210235f5b9835cbbd7bd9367bf1b50ba55aec8..506e9bc3355f3315e44b0bf720637fef814a327a 100644
(file)
--- a/
filesystem/etc/X11/Xsession.d/98iank
+++ b/
filesystem/etc/X11/Xsession.d/98iank
@@
-1,10
+1,10
@@
+#!/bin/bash
+
# no screensaver for htpc machine
if [[ $HOSTNAME != frodo ]]; then
# no screensaver for htpc machine
if [[ $HOSTNAME != frodo ]]; then
-/usr/share/xscreensaver/xscreensaver-wrapper.sh &
+
/usr/share/xscreensaver/xscreensaver-wrapper.sh &
fi
fi
-/a/exe/lnf -T /p/arbtt-capture.log ~/.arbtt/capture.log
-
-# docs say a sample rate less than 20 is probably not worth the data cost,
-# but it seems pretty small to me
-arbtt-capture --sample-rate=10 &
+if [[ $HOSTNAME == $MAIL_HOST ]]; then
+ arbtt-capture --sample-rate=10 &
+fi