wok-next diff x11vnc/receipt @ 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 b0403f514752
children db6a25c9636c
line diff
     1.1 --- a/x11vnc/receipt	Tue Sep 14 02:51:26 2010 +0000
     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