wok rev 11594

dropbear/sshx: background
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 13 10:58:50 2012 +0100 (2012-01-13)
parents 0078fa9a46a4
children 890a8d86a257
files dropbear/stuff/sshx
line diff
     1.1 --- a/dropbear/stuff/sshx	Fri Jan 13 10:51:19 2012 +0100
     1.2 +++ b/dropbear/stuff/sshx	Fri Jan 13 10:58:50 2012 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  	read host type data
     1.5  	svr=$(echo $DISPLAY | sed 's/.*:\([0-9]*\).*/\1/')
     1.6  	n=$((10+$svr)); dpy=localhost:$n
     1.7 -	dbclient -R $((6000+$n)):localhost:$((6000+$svr)) "$@" \
     1.8 +	dbclient -f -R $((6000+$n)):localhost:$((6000+$svr)) "$@" \
     1.9  	    "xauth add $dpy $type $data; export DISPLAY=$dpy; $TERM || xterm" \
    1.10  	    < /dev/null > /dev/null 2>&1
    1.11  }