diff options
Diffstat (limited to 'target/linux/x86/generic/base-files')
-rw-r--r-- | target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs b/target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs new file mode 100644 index 0000000000..ac484f6210 --- /dev/null +++ b/target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs @@ -0,0 +1,9 @@ +#!/bin/sh +# Copyright (C) 2010 OpenWrt.org + +do_mount_xenfs() { + grep -q xenfs /proc/filesystems && \ + mount -o noatime -t xenfs none /proc/xen +} + +boot_hook_add preinit_mount_root do_mount_xenfs |