x86/64: add xen DomU support
[openwrt/openwrt.git] / target / linux / x86 / 64 / base-files / lib / preinit / 45_mount_xenfs
1 #!/bin/sh
2 # Copyright (C) 2010 OpenWrt.org
3
4 do_mount_xenfs() {
5 grep -q xenfs /proc/filesystems && \
6 mount -o noatime -t xenfs none /proc/xen
7 }
8
9 boot_hook_add preinit_mount_root do_mount_xenfs