summaryrefslogtreecommitdiff
path: root/ci/load-snd-dummy.sh
blob: b0101b0f8a19509ef61b9b310cf90137e88e3c0d (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
set -e

if ! modprobe snd-dummy; then
    # snd-dummy is contained in linux-modules-extra (if exists)
    apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi