#!/bin/sh
/usr/bin/echomixer 2>&1 | grep -q 'No Echoaudio cards found, sorry.'; if [[ $? == 0 ]]; then kdialog --msgbox "No Echoaudio cards found." || xmessage "No Echoaudio cards found."; fi
