Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove need for debian patch to vncterm-wrapper

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
  • Loading branch information...
commit 6f15dc06fd8a40e5e9be73dbd73ccc4c7df61fa5 1 parent 84770f0
@jonludlam jonludlam authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 scripts/vncterm-wrapper
View
7 scripts/vncterm-wrapper
@@ -21,10 +21,15 @@ export VNCTERM_LISTEN="-v 127.0.0.1:1"
# 64MiB core dumps
ulimit -c 67108864
+vncterm=/usr/lib/xen/bin/vncterm
+if [ ! -e $vncterm ]; then
+ vncterm=/usr/lib/xcp/lib/vncterm
+fi
+
echo vncterm-wrapper:
xenstore-write -s /local/domain/$DOMID/vncterm-pid $$
if [ -z "${XIU}" ]; then
- exec /usr/lib/xen/bin/vncterm $* > /dev/null 2>&1
+ exec $vncterm $* > /dev/null 2>&1
else
exec xenstore-write -s /local/domain/$DOMID/console/vnc-port 0
fi
Please sign in to comment.
Something went wrong with that request. Please try again.