Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > c6175acbf91b92b2588f181d22b43a5f > files > 23

xen-3.4.3-3.fc13.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