summaryrefslogblamecommitdiffstats
path: root/os-plugins/plugins/xen/XX_xen.sh
blob: ba2c4f00d76d089a62e1b14c260444d32225d329 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                         


                                                   


                                                                          





                                               
 

                              
 


                             
# Copyright (c) 2007..2008 - RZ Uni Freiburg
# Copyright (c) 2008 - OpenSLX GmbH
#
# This program/file is free software distributed under the GPL version 2.
# See http://openslx.org/COPYING
#
# If you have any feedback please consult http://openslx.org/feedback and
# send your feedback to feedback@openslx.org
#
# General information about OpenSLX can be found at http://openslx.org
#
# stage3 part of 'xen' plugin - the runlevel script
#
# script is included from init via the "." load function - thus it has all
# variables and functions available

if [ -e /initramfs/plugin-conf/xen.conf ]; then
  . /initramfs/plugin-conf/xen.conf
  if [ $xen_active -ne 0 ]; then
    testmkd /mnt/var/log/xen
    testmkd /mnt/var/run/xend
    testmkd /mnt/var/run/xenstored

    rllinker "xendomains" 14 8
    rllinker "xend" 13 9

    modprobe loop max_loop=64
  fi
fi