2013-03-16 18:52:16 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
install() {
|
|
|
|
inst_hook cmdline 02 "$moddir/qubes-pciback.sh"
|
|
|
|
inst lspci
|
|
|
|
inst grep
|
|
|
|
inst awk
|
|
|
|
}
|
|
|
|
|
|
|
|
installkernel() {
|
2017-03-14 14:16:27 +00:00
|
|
|
local mod=
|
|
|
|
|
|
|
|
for mod in pciback xen-pciback; do
|
|
|
|
if modinfo -k "${kernel}" "${mod}" >/dev/null 2>&1; then
|
|
|
|
hostonly='' instmods "${mod}"
|
|
|
|
fi
|
|
|
|
done
|
2013-03-16 18:52:16 +00:00
|
|
|
}
|