1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-26 20:41:05 +02:00

[x86] add preinit xenfs mount handler

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19616 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-02-12 22:37:17 +00:00
parent 9ac055aef2
commit 68ea568ac8

View File

@ -0,0 +1,11 @@
#!/bin/sh
# Copyright (C) 2010 OpenWrt.org
do_mount_xenfs() {
[ -f /etc/modules.d/??-xenfs ] && {
insmod $(cat /etc/modules.d/??-xenfs)
mount none /proc/xen -t xenfs
}
}
boot_hook_add preinit_mount_root do_mount_xenfs