We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4757ca2 commit 611647bCopy full SHA for 611647b
1 file changed
rootfs/etc/cont-init.d/pulse-config.sh
@@ -6,7 +6,7 @@ declare tsched
6
readonly ALSA_CARDS="$(aplay -l)"
7
8
# RaspberryPi
9
-if echo "${ALSA_CARDS}" | grep -q "\[bcm2835 .*\]"; then
+if [[ "${ALSA_CARDS}" =~ \[bcm2835.*?\] ]]; then
10
bashio::log.info "Found RaspberryPi system"
11
tsched=false
12
else
0 commit comments