Do not overload mount-call - trying to reduce confusion
[openwrt.git] / target / linux / x86 / xen_domu / base-files / lib / preinit / 45_mount_xenfs
1 #!/bin/sh
2 # Copyright (C) 2010 OpenWrt.org
3
4 do_mount_xenfs() {
5         [ -f /etc/modules.d/??-xenfs ] && {
6                 insmod $(cat /etc/modules.d/??-xenfs)
7                 mount -o noatime none /proc/xen -t xenfs
8         }
9 }
10
11 boot_hook_add preinit_mount_root do_mount_xenfs