summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorMichael Janczyk2009-11-03 20:58:57 +0100
committerMichael Janczyk2009-11-03 20:58:57 +0100
commitf6da3e1c888bcba6bc2f182e6a324deacbbe8802 (patch)
treed4aa2cfba49061734fe617b83a87672f2d336c1f /os-plugins
parenthopefully last fix :( (diff)
downloadcore-f6da3e1c888bcba6bc2f182e6a324deacbbe8802.tar.gz
core-f6da3e1c888bcba6bc2f182e6a324deacbbe8802.tar.xz
core-f6da3e1c888bcba6bc2f182e6a324deacbbe8802.zip
another path to be adapted
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3189 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rwxr-xr-xos-plugins/plugins/vmchooser/files/xmlfilter.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmchooser/files/xmlfilter.sh b/os-plugins/plugins/vmchooser/files/xmlfilter.sh
index bc6ee2b8..5ef153cb 100755
--- a/os-plugins/plugins/vmchooser/files/xmlfilter.sh
+++ b/os-plugins/plugins/vmchooser/files/xmlfilter.sh
@@ -26,8 +26,11 @@
# - filter for slxgrp (which comes from /etc/machine-setup)
#
-if [ -f ${PLUGINCONFDIR}/vmchooser.conf ]; then
- . ${PLUGINCONFDIR}/vmchooser.conf
+# include default directories
+. /etc/openslx.conf
+
+if [ -f ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/vmchooser.conf ]; then
+ . ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/vmchooser.conf
fi
for FILE in $1/*.xml; do