diff options
author | Sebastian Schmelzer | 2010-09-24 12:11:20 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2010-09-24 12:11:20 +0200 |
commit | 650f895df19a6b93f54724fe663763859191785f (patch) | |
tree | 8fae5f24e41fe4b38ef8f240826252fa8ed70de7 /src/os-plugins/plugins/vmchooser/files/run-virt.sh | |
parent | add function to manipulate upstart scripts // openslx-commit test :) (diff) | |
download | core-650f895df19a6b93f54724fe663763859191785f.tar.gz core-650f895df19a6b93f54724fe663763859191785f.tar.xz core-650f895df19a6b93f54724fe663763859191785f.zip |
add autostart for pvs to runvirt script
Diffstat (limited to 'src/os-plugins/plugins/vmchooser/files/run-virt.sh')
-rw-r--r-- | src/os-plugins/plugins/vmchooser/files/run-virt.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os-plugins/plugins/vmchooser/files/run-virt.sh b/src/os-plugins/plugins/vmchooser/files/run-virt.sh index 23f026c7..1a235368 100644 --- a/src/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/src/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -385,6 +385,10 @@ if [ -e ${PLUGINCONFROOT}/${xmlvirt}/run-virt.include ] ; then break fi done + # start poolvideoswitch if we find the autostarter file + if [ -e /etc/xdg/autostart/pvsgui.desktop ]; then + /usr/local/bin/pvsgui >/dev/null 2>&1 + fi ${VIRTCMD} ${VIRTCMDOPTS} writelog "Bye." cleanexit 0 |