xen-runit-scripts/proc-xen.run
2024-07-23 14:18:55 +02:00

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