#!/bin/bash DARKPID=`pidof darkice` if [ -z $DARKPID ]; then aplay "$@" fi