1 2 3 4 5 6 7 8 9 10
#!/bin/sh . /scripts/functions if [ "$(cat /sys/hypervisor/type 2>/dev/null || true)" = xen ] && \ [ ! -d /sys/bus/xen ]; then log_begin_msg "Detected Xen hypervisor, loading xenbus_probe_frontend" modprobe -q xenbus_probe_frontend log_end_msg fi