From: Silvio Rhatto Date: Sat, 1 Apr 2017 20:48:26 +0000 (-0300) Subject: Default start action on kvmx_xpra X-Git-Tag: 0.1.0~483 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=62d8dd5ea3a23c0713e11b8121d223a96da7fffc;p=kvmx.git Default start action on kvmx_xpra --- 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 $* }