From 62d8dd5ea3a23c0713e11b8121d223a96da7fffc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 1 Apr 2017 17:48:26 -0300 Subject: Default start action on kvmx_xpra --- kvmx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kvmx b/kvmx index aa3fd3c..54f72fb 100755 --- a/kvmx +++ b/kvmx @@ -763,6 +763,10 @@ function kvmx_xpra { local action="$3" shift 3 + if [ -z "$action" ]; then + action="start" + fi + SSH="`cat $SSHFILE`" xpra $action --ssh="$SSH_COMMAND -p $SSH" ssh:$SSH_LOGIN@127.0.0.1 $* } -- cgit v1.2.3