wok rev 18331

dropbear: add sshfbvnc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 09 09:23:13 2015 +0200 (2015-09-09)
parents 0c87072c012d
children 90cba0814151
files dropbear/stuff/sshx
line diff
     1.1 --- a/dropbear/stuff/sshx	Wed Sep 09 08:55:46 2015 +0200
     1.2 +++ b/dropbear/stuff/sshx	Wed Sep 09 09:23:13 2015 +0200
     1.3 @@ -50,6 +50,7 @@
     1.4  {
     1.5  	p=5900
     1.6  	while netstat -tln | grep -q ":$p " ; do p=$(($p+1)); done
     1.7 +	[ -r /dev/input/mice ] || echo "Warning: Cannot read mouse input." 1>&2
     1.8  	dbclient -f -N -L $p:127.0.0.1:${2:-5900} $1
     1.9  	fbvnc 127.0.0.1 $p
    1.10  	kill $(netstat -tlnp 2> /dev/null | \