projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7eb8bf7958a21462910e4f28cc855b3cc9b7fcc1
[openwrt.git]
/
target
/
linux
/
x86
/
xen_domu
/
base-files
/
lib
/
preinit
/
45_mount_xenfs
1
#!/bin/sh
2
# Copyright (C) 2010 OpenWrt.org
3
4
do_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
11
boot_hook_add preinit_mount_root do_mount_xenfs