diff options
author | Dirk von Suchodoletz | 2008-08-06 11:06:13 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2008-08-06 11:06:13 +0200 |
commit | 8cc05b240567b8d796abd16cc1d43c81aa28f818 (patch) | |
tree | 23b2f4a3912c2b55b8976197a15f0ca26f89788a /os-plugins/plugins/xen | |
parent | Trivial fixes/bugs in plugin scripts ... (diff) | |
download | core-8cc05b240567b8d796abd16cc1d43c81aa28f818.tar.gz core-8cc05b240567b8d796abd16cc1d43c81aa28f818.tar.xz core-8cc05b240567b8d796abd16cc1d43c81aa28f818.zip |
Further cleanup in the plugin files ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1967 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/xen')
-rw-r--r-- | os-plugins/plugins/xen/XX_xen.sh | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/os-plugins/plugins/xen/XX_xen.sh b/os-plugins/plugins/xen/XX_xen.sh index 4a86c9cc..ba2c4f00 100644 --- a/os-plugins/plugins/xen/XX_xen.sh +++ b/os-plugins/plugins/xen/XX_xen.sh @@ -14,11 +14,16 @@ # script is included from init via the "." load function - thus it has all # variables and functions available -testmkd /mnt/var/log/xen -testmkd /mnt/var/run/xend -testmkd /mnt/var/run/xenstored +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 + rllinker "xendomains" 14 8 + rllinker "xend" 13 9 -modprobe loop max_loop=64 + modprobe loop max_loop=64 + fi +fi |