1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-19 12:22:26 +03:00
openwrt-xburst/target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs
jow 68ea568ac8 [x86] add preinit xenfs mount handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 22:37:17 +00:00

12 lines
226 B
Bash

#!/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