Skip to content

Commit

Permalink
Fix grep output (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Apr 2, 2020
1 parent cee7085 commit fe375e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/cont-init.d/pulse-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ALSA_CARDS="$(aplay -l)"

# BCM2835
if echo "${ALSA_CARDS}" | grep "[bcm2835 ALSA]"; then
if echo "${ALSA_CARDS}" | grep -q "\[bcm2835 ALSA\]"; then
bashio::log.info "Found BCM2835 card"

sed -i "s/module-udev-detect/module-udev-detect tsched=0/" /etc/pulse/system.pa
Expand Down

0 comments on commit fe375e9

Please sign in to comment.