xen/xen.modules

11 lines
293 B
Text
Raw Normal View History

2012-02-01 14:53:08 +04:00
#!/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