wok-next rev 17691

xrdp: update start scripts
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 22 19:05:31 2015 +0100 (2015-02-22)
parents e302f073e59f
children 2b9e61f7570e
files xrdp/receipt
line diff
     1.1 --- a/xrdp/receipt	Sun Feb 22 18:41:02 2015 +0100
     1.2 +++ b/xrdp/receipt	Sun Feb 22 19:05:31 2015 +0100
     1.3 @@ -11,7 +11,7 @@
     1.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.5  
     1.6  DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \
     1.7 -xorg-libXdmcp pam procps"
     1.8 +xorg-libXdmcp pam tightvnc"
     1.9  BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \
    1.10  xorg-dev"
    1.11  
    1.12 @@ -34,5 +34,9 @@
    1.13  	mkdir -p $fs/etc/init.d
    1.14  	cp -a $install/* $fs/
    1.15  	mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
    1.16 -	sed -i 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' $fs/etc/init.d/xrdp
    1.17 +	sed -i	-e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
    1.18 +		-e 's|--noheading -C||' \
    1.19 +		-e 's/grep -q -i/grep -v grep | &/' \
    1.20 +		$fs/etc/init.d/xrdp
    1.21 +	sed -i 's|gnome|lxde-session &|' $fs/etc/xrdp/startwm.sh
    1.22  }