wok-current rev 7363

x11vnc: clarify default passwd creation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 23 23:23:40 2010 +0100 (2010-11-23)
parents 7b9e6fc9fc3d
children db6a25c9636c
files x11vnc/receipt
line diff
     1.1 --- a/x11vnc/receipt	Tue Nov 23 18:57:25 2010 +0100
     1.2 +++ b/x11vnc/receipt	Tue Nov 23 23:23:40 2010 +0100
     1.3 @@ -38,7 +38,7 @@
     1.4  X11VNC_OPTIONS="-rfbauth /etc/vnc.secret -loop -tightfilexfer -permitfiletransfer -display :0"
     1.5  
     1.6  EOT
     1.7 -	[ -f $1/etc/vnc.secret ] || echo -en 'p\x05\xE3\x8B\x81\xB0\xB2\x1B' \
     1.8 -		 > $1/etc/vnc.secret # root
     1.9 +	[ -f $1/etc/vnc.secret ] || 
    1.10 +	chroot $1/ x11vnc -storepasswd root /etc/vnc.secret
    1.11  }
    1.12