load-snd-dummy.sh 244 B

123456789
  1. #!/bin/bash
  2. set -e
  3. if ! modprobe snd-dummy; then
  4. # snd-dummy is contained in linux-modules-extra (if exists)
  5. apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
  6. modprobe snd-dummy
  7. fi