1#!/bin/sh
2# Copyright (C) 2010 OpenWrt.org
3
4do_mount_xenfs() {
5	[ -f /etc/modules.d/??-xenfs ] && {
6		insmod $(cat /etc/modules.d/??-xenfs)
7		mount none /proc/xen -t xenfs
8	}
9}
10
11boot_hook_add preinit_mount_root do_mount_xenfs
12