[ -f "$HOME/.away-smart" ] && . "$HOME/.away-smart"
old_sched="$scheduled"
-for host in sarah homer lisa mona; do
+for host in buster maeby lindsay tobias; do
ping -c 1 $host >/dev/null 2>&1 && livehosts="$livehosts $host"
done
if [ "$is_away" = 1 ]; then
[ ! -f /tmp/.tpope_lights ] && touch /tmp/.tpope_lights && \
- $ssh homer br -F -F
+ $ssh maeby br -F -F
elif [ -f /tmp/.tpope_lights ]; then
- $ssh homer br -n 5
+ $ssh maeby br -n 5
rm -f /tmp/.tpope_lights
- $ssh homer br -n 5
+ $ssh maeby br -n 5
fi
if [ "$activity" ]; then
information="$away"
else
case "$alive" in
- lisa*|abe*) information="On laptop" ;;
- sarah*) information="In bed" ;;
- mona*|homer*) information="On desktop" ;;
+ lindsay*) information="On laptop" ;;
+ buster*) information="In bed" ;;
+ tobias*|lucille*) information="On desktop" ;;
*) information="Away from keyboard?" ;;
esac
fi
echo "$information" > "$HOME/.plan"
fi
-for host in bart homer sarah clancy; do
+for host in gob maeby buster oscar; do
ping -c 1 $host >/dev/null && scp -q "$HOME/.status" $host: 2>/dev/null
done
-ping -c 1 homer >/dev/null && scp -q "$HOME/.caminfo.deskcam" homer:.caminfo 2>/dev/null
-ping -c 1 sarah >/dev/null && scp -q "$HOME/.caminfo.bedcam" sarah:.caminfo 2>/dev/null
+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
rm -f .caminfo.bedcam
exit 0