clear things that are handled by the init script

This commit is contained in:
Gustavo Homem 2013-03-21 18:20:16 +00:00
parent ec7d868008
commit 5db47b08c6

View File

@ -9,7 +9,6 @@ XRDP="xrdp"
ADDUSER="/usr/sbin/adduser" ADDUSER="/usr/sbin/adduser"
XRDPLOG="/var/log/xrdp-sesman.log" XRDPLOG="/var/log/xrdp-sesman.log"
SESMANLOG="/var/log/xrdp-sesman.log" SESMANLOG="/var/log/xrdp-sesman.log"
RSAKEYS="/etc/xrdp/rsakeys.ini"
[ -d /var/run/xrdp ] || mkdir -p /var/run/xrdp [ -d /var/run/xrdp ] || mkdir -p /var/run/xrdp
$ADDUSER --system --disabled-password --disabled-login --home /var/run/xrdp \ $ADDUSER --system --disabled-password --disabled-login --home /var/run/xrdp \
@ -18,7 +17,5 @@ $ADDUSER --system --disabled-password --disabled-login --home /var/run/xrdp \
touch $SESMANLOG $XRDPLOG touch $SESMANLOG $XRDPLOG
chown $XRDP:$XRDP $SESMANLOG chown $XRDP:$XRDP $SESMANLOG
chown $XRDP:$XRDP $XRDPLOG chown $XRDP:$XRDP $XRDPLOG
chgrp $XRDP $RSAKEYS
chmod g+r $RSAKEYS
#DEBHELPER# #DEBHELPER#