wok diff dropbear/stuff/sshx @ rev 21009

updated gtick (0.4.2 -> 0.5.4)
author Hans-G?nter Theisgen
date Sat Mar 09 13:45:19 2019 +0100 (2019-03-09)
parents be6d6007394f
children
line diff
     1.1 --- a/dropbear/stuff/sshx	Fri Jan 11 16:32:25 2019 +0100
     1.2 +++ b/dropbear/stuff/sshx	Sat Mar 09 13:45:19 2019 +0100
     1.3 @@ -53,7 +53,7 @@
     1.4  	pppsvr="$ppp $n ${3:-proxyarp} notty >/dev/null"
     1.5  	sshcmd="nc -ulp $5 -e $pppsvr"
     1.6  	udpcmd="nc -u $ipsvr $5"
     1.7 -	[ "$6" == "test" ] && sshcmd="nc -ulp $5 -e nc 127.0.0.1 22" &&
     1.8 +	[ "$6" = "test" ] && sshcmd="nc -ulp $5 -e nc 127.0.0.1 22" &&
     1.9  	udpcmd="dbclient -y -J \"nc -u $ipsvr $5\" ${1%@*}@127.0.0.1 $pppsvr"
    1.10  	[ -n "$5" ] && arg="noipdefault pty '$udpcmd'" && $ssh -f ${1/:/ -p } "$sshcmd"
    1.11  	eval $ppp $arg ipparam pppssh$$
    1.12 @@ -66,7 +66,7 @@
    1.13  	p=5900
    1.14  	while netstat -tln | grep -q ":$p " ; do p=$(($p+1)); done
    1.15  	[ -r /dev/input/mice ] || echo "Warning: Cannot read mouse input." 1>&2
    1.16 -	r=${1%/*}; svr=${1#*/}; [ "$svr" == "$1" ] && svr=127.0.0.1
    1.17 +	r=${1%/*}; svr=${1#*/}; [ "$svr" = "$1" ] && svr=127.0.0.1
    1.18  	dbclient -y -f -N -L $p:$svr:${2:-5900} ${r/:/ -p }
    1.19  	fbvnc 127.0.0.1 $p
    1.20  	kill $(netstat -tlnp 2> /dev/null | \