11 lines
169 B
Bash
11 lines
169 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
# a quick PCM API test
|
||
|
str=$(aplay -L | grep -E "^null$")
|
||
|
if [ "$str" != "null" ]; then
|
||
|
echo "The 'null' pcm plugin was not found!"
|
||
|
exit 99
|
||
|
fi
|