From c1ca3d9ecc357d8891985dc6badb26b00ea8db10 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 6 Aug 2008 08:45:26 +0000 Subject: Trivial fixes/bugs in plugin scripts ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1966 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/xen/XX_xen.sh | 3 ++- os-plugins/plugins/xserver/XX_xserver.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/os-plugins/plugins/xen/XX_xen.sh b/os-plugins/plugins/xen/XX_xen.sh index c98a707f..4a86c9cc 100644 --- a/os-plugins/plugins/xen/XX_xen.sh +++ b/os-plugins/plugins/xen/XX_xen.sh @@ -17,7 +17,8 @@ testmkd /mnt/var/log/xen testmkd /mnt/var/run/xend testmkd /mnt/var/run/xenstored -cd /mnt/etc/init.d/rc5.d + rllinker "xendomains" 14 8 rllinker "xend" 13 9 + modprobe loop max_loop=64 diff --git a/os-plugins/plugins/xserver/XX_xserver.sh b/os-plugins/plugins/xserver/XX_xserver.sh index c2aafdad..c8c3d13c 100644 --- a/os-plugins/plugins/xserver/XX_xserver.sh +++ b/os-plugins/plugins/xserver/XX_xserver.sh @@ -21,7 +21,7 @@ if [ -e /initramfs/plugin-conf/xserver.conf ]; then . /initramfs/plugin-conf/xserver.conf # do not start any configuration if the admin provided a preconfigured # xorg.conf in /rootfs/etc/X11/xorg.conf - if [ $example_active -ne 0 -a ! -f /rootfs/${xfc#/mnt} ]; then + if [ $xserver_active -ne 0 -a ! -f /rootfs/${xfc#/mnt} ]; then [ $DEBUGLEVEL -gt 0 ] && echo "executing the 'xserver' os-plugin ..."; xmodule=$(grep -i -m 1 "XFree86 v4 Server Module" /etc/hwinfo.data | \ sed "s/.*v4 Server Module: //") -- cgit v1.2.3-55-g7522