xen-runit-scripts/proc-xen/proc-xen.run

11 lines
151 B
Bash
Executable file

#!/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