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