Fresh pull from upstream 17.01 branch
[librecmc/librecmc.git] / target / linux / x86 / generic / 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