#!/bin/sh
#set -x
# $RANDOM assumes /bin/sh is a bash
R="$RANDOM"
#echo $R
if [ "$R" -lt 28000 ]
then
	exec /usr/bin/esdplay $HOME/sound/ting.wav &
elif [ "$R" -lt 30000 ]
then
	exec /usr/bin/esdplay $HOME/sound/uhoh.wav &
else
	# this one might not be a good idea in some professions - it sounds
	# too real.  Some people mistake it for me actually saying "uh oh",
	# which as a sysadmin really worries'em.  :)
	exec /usr/bin/esdplay $HOME/sound/UHOH.WAV &
fi