xrdp: update patches
This commit is contained in:
parent
0e4c03542e
commit
6f02f0e6cf
|
@ -1,41 +1,3 @@
|
|||
diff -uNr xrdp-0.9.11/instfiles/xrdp.sh xrdp-0.9.11.mod/instfiles/xrdp.sh
|
||||
--- xrdp-0.9.11/instfiles/xrdp.sh 2019-03-25 04:34:16.000000000 +0200
|
||||
+++ xrdp-0.9.11.mod/instfiles/xrdp.sh 2019-09-18 20:27:56.389595811 +0300
|
||||
@@ -17,9 +17,9 @@
|
||||
# Description: starts xrdp
|
||||
### END INIT INFO
|
||||
|
||||
-SBINDIR=/usr/local/sbin
|
||||
+SBINDIR=@TERMUX_PREFIX@/bin
|
||||
LOG=/dev/null
|
||||
-CFGDIR=/etc/xrdp
|
||||
+CFGDIR=@TERMUX_PREFIX@/etc/xrdp
|
||||
|
||||
if ! test -x $SBINDIR/xrdp
|
||||
then
|
||||
@@ -84,18 +84,18 @@
|
||||
is_sesman_running
|
||||
if test $? -eq 0
|
||||
then
|
||||
- if test -e /var/run/xrdp-sesman.pid
|
||||
+ if test -e @TERMUX_PREFIX@/var/run/xrdp-sesman.pid
|
||||
then
|
||||
- rm /var/run/xrdp-sesman.pid
|
||||
+ rm @TERMUX_PREFIX@/var/run/xrdp-sesman.pid
|
||||
fi
|
||||
fi
|
||||
# Cleanup : If xrdp isn't running, but the pid exists, erase it.
|
||||
is_xrdp_running
|
||||
if test $? -eq 0
|
||||
then
|
||||
- if test -e /var/run/xrdp.pid
|
||||
+ if test -e @TERMUX_PREFIX@/var/run/xrdp.pid
|
||||
then
|
||||
- rm /var/run/xrdp.pid
|
||||
+ rm @TERMUX_PREFIX@/var/run/xrdp.pid
|
||||
fi
|
||||
fi
|
||||
return 0;
|
||||
diff -uNr xrdp-0.9.11/sesman/sesman.ini xrdp-0.9.11.mod/sesman/sesman.ini
|
||||
--- xrdp-0.9.11/sesman/sesman.ini 2019-08-19 18:41:37.000000000 +0300
|
||||
+++ xrdp-0.9.11.mod/sesman/sesman.ini 2019-09-18 20:27:56.392929148 +0300
|
||||
|
|
Loading…
Reference in New Issue