Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 2112a98fae9677722cbbc66a32e7c8d9 > files > 30

xen-4.1.4-3.fc16.src.rpm

#!/bin/sh

test -d /proc/xen				|| exit 0
test -f /proc/xen/capabilities			|| mount -t xenfs xen /proc/xen
test -f /proc/xen/capabilities			|| exit 0
grep -q "control_d" /proc/xen/capabilities	|| exit 0

for module in xen-evtchn evtchn xen-gntdev gntdev xen-blkback xen-netback blkbk netbk blktap xen-acpi-processor; do
	modprobe ${module} >/dev/null 2>&1
done