diff options
author | Brian Harring <ferringb@chromium.org> | 2012-10-17 22:07:58 -0700 |
---|---|---|
committer | Brian Harring <ferringb@chromium.org> | 2012-10-17 22:07:58 -0700 |
commit | e84e88c3fe5a80c464bdb094c807b9eb420d78f3 (patch) | |
tree | 16ca53daf4e2b8a1725e362c62ec2c81cd6cfb16 /app-emulation/qemu-init-scripts/files | |
parent | Fix typo, s/RPDEPEND/RDEPEND/ (diff) | |
download | kvm-tools-e84e88c3fe5a80c464bdb094c807b9eb420d78f3.tar.gz kvm-tools-e84e88c3fe5a80c464bdb094c807b9eb420d78f3.tar.bz2 kvm-tools-e84e88c3fe5a80c464bdb094c807b9eb420d78f3.zip |
Fix -display vnc=blah passing
Diffstat (limited to 'app-emulation/qemu-init-scripts/files')
-rw-r--r-- | app-emulation/qemu-init-scripts/files/qemu-init-script | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app-emulation/qemu-init-scripts/files/qemu-init-script b/app-emulation/qemu-init-scripts/files/qemu-init-script index 63c662c..eb66149 100644 --- a/app-emulation/qemu-init-scripts/files/qemu-init-script +++ b/app-emulation/qemu-init-scripts/files/qemu-init-script @@ -1,5 +1,5 @@ #!/sbin/runscript -# Copyright 2009 Gentoo Foundation +# Copyright 2009-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # To use this, symlink a target kvm instance to this script. @@ -153,8 +153,7 @@ start() { vm_args[${#vm_args[@]}]=sdl elif [ -n "$VNC" ]; then vm_args[${#vm_args[@]}]=-display - vm_args[${#vm_args[@]}]=vnc - vm_args[${#vm_args[@]}]="${VNC}" + vm_args[${#vm_args[@]}]="vnc=${VNC}" else vm_args[${#vm_args[@]}]=-display vm_args[${#vm_args[@]}]=none |