add preinit xenfs mount handler
SVN-Revision: 19616
This commit is contained in:
parent
e0fc8fb6aa
commit
a243108655
1 changed files with 11 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue