#!/bin/sh set -e [ ! -d /proc/xen ] && exit 0 [ -e /proc/xen/capabilities ] && exit 0 mount -t xenfs xenfs /proc/xen exec chpst -b proc-xen pause