diff options
Diffstat (limited to 'os-plugins/plugins/xen/XX_xen.sh')
-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 |