#!/bin/sh # test the sound... if ! ( which play >/dev/null 2>/dev/null ); then echo "you need sox for this." exit 1 fi echo "trying to play a sample sound..." if ! ( play /usr/share/rl/system/rl.wav ); then echo "damn..." else echo "seems to work?" fi