#!/bin/bash for mod in pciback xen-pciback; do if modinfo -k "${kernel}" "${mod}" >/dev/null 2>&1; then instmods "${mod}" fi done