projects
/
tpope-extra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3c37f39
)
New away-actions hosts
author
Tim Pope
<code@tpope.net>
Sun, 27 Apr 2008 23:42:10 +0000
(23:42 +0000)
committer
Tim Pope
<code@tpope.net>
Sun, 27 Apr 2008 23:42:10 +0000
(23:42 +0000)
bin/away-actions
patch
|
blob
|
history
diff --git
a/bin/away-actions
b/bin/away-actions
index 8515027c7f0f37ce092782c1338dcbaaa3a2bc25..6da3ec9e5cd3364506a57063f228dbdb0fabf703 100755
(executable)
--- a/
bin/away-actions
+++ b/
bin/away-actions
@@
-84,12
+84,13
@@
else
echo "$information" > "$HOME/.plan"
fi
echo "$information" > "$HOME/.plan"
fi
-for host in michael lucille buster oscar; do
- ping -c 1 $host >/dev/null && scp -q "$HOME/.status" $host: 2>/dev/null
-done
+
#
for host in michael lucille buster oscar; do
+
#
ping -c 1 $host >/dev/null && scp -q "$HOME/.status" $host: 2>/dev/null
+
#
done
-ping -c 1 lucille >/dev/null && scp -q "$HOME/.caminfo.deskcam" lucille:.caminfo 2>/dev/null
-ping -c 1 buster >/dev/null && scp -q "$HOME/.caminfo.bedcam" buster:.caminfo 2>/dev/null
+ping -c 1 maeby >/dev/null && scp -q "$HOME/.status" maeby: 2>/dev/null
+ping -c 1 tobias >/dev/null && scp -q "$HOME/.caminfo.deskcam" tobias:.caminfo 2>/dev/null
+#ping -c 1 buster >/dev/null && scp -q "$HOME/.caminfo.bedcam" buster:.caminfo 2>/dev/null
rm -f .caminfo.deskcam .caminfo.bedcam
exit 0
rm -f .caminfo.deskcam .caminfo.bedcam
exit 0