Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 49b5f8805f57b860ddcc29d52601b53d > files > 23

xen-4.0.1-3mdv2010.2.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 blkbk netbk; do
	modprobe ${module} >/dev/null 2>&1
done