aboutsummaryrefslogtreecommitdiff
path: root/target/linux/x86/64/base-files/lib/preinit/45_mount_xenfs
blob: e57e354102e5bfbe394bb88cfc46a510fb3e2355 (plain)
1
2
3
4
5
6
7
8
# 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