diff options
author | Michael Janczyk | 2009-10-23 19:26:38 +0200 |
---|---|---|
committer | Michael Janczyk | 2009-10-23 19:26:38 +0200 |
commit | 71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6 (patch) | |
tree | 7a67be8cbd836335409353bf1c6de05f7047f038 /os-plugins/plugins/vmware/files/run-virt.include | |
parent | moving tested theming stuff to 5.0 (diff) | |
download | core-71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6.tar.gz core-71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6.tar.xz core-71ecbe8e688b11dd3baf8dc1c41d3b355eac01c6.zip |
default directories introduced. please test and say what you think. examples see plugins vmware and vmchooser. can be simplyfied further (VIRTDIR, ETC...). /opt/openslx can bu user for plugins, ect as well (maybe PLUGINDIR?).
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3177 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/files/run-virt.include')
-rw-r--r-- | os-plugins/plugins/vmware/files/run-virt.include | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include index 725ccb1c..a148442c 100644 --- a/os-plugins/plugins/vmware/files/run-virt.include +++ b/os-plugins/plugins/vmware/files/run-virt.include @@ -15,6 +15,8 @@ # - component for vmware/player of the vmchooser plugin run-virt.sh # ----------------------------------------------------------------------------- +# include default directories +. /etc/opt/openslx/openslx.conf # include general configuration from vmchooser . /etc/opt/openslx/run-virt.include @@ -211,6 +213,8 @@ confdir=${redodir} conffile="${confdir}/run-vmware.conf" # users vmware config folder vmhome="${HOME}/.vmware" +# logfile +logfile=${OPENSLX_DEFAULT_LOGDIR}/run-vmware.${USER}.$$.log # get several version infos for vmware/player . /etc/vmware/slxvmconfig @@ -376,11 +380,6 @@ done # logging and stdout ################################################################################ -logfile=${vmhome}/run-vmware.`hostname`.log - -# remove ols logs -rm ${vmhome}/run-vmware.* >/dev/null 2>&1 - # function to write to stdout and logfile writelog () { |