Root/target/linux/x86/xen_domu/base-files/lib/preinit/45_mount_xenfs

1#!/bin/sh
2# Copyright (C) 2010 OpenWrt.org
3
4do_mount_xenfs() {
5    [ -f /etc/modules.d/??-xenfs ] && {
6        insmod $(cat /etc/modules.d/??-xenfs)
7        mount -o noatime none /proc/xen -t xenfs
8    }
9}
10
11boot_hook_add preinit_mount_root do_mount_xenfs
12

Archive Download this file



interactive