You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs

12 lines
237 B
Bash

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