xen-runit-scripts/proc-xen.run

12 lines
151 B
Text
Raw Normal View History

2024-07-23 12:54:54 +02:00
#!/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