summaryrefslogtreecommitdiffstats
path: root/instfiles
diff options
context:
space:
mode:
authorGustavo Homem <gustavo@angulosolido.pt>2013-03-21 18:22:21 +0000
committerGustavo Homem <gustavo@angulosolido.pt>2013-03-21 18:22:21 +0000
commit4abac0a05d7b752e90f64fe30a01cee9ced725e4 (patch)
tree617448b2eecec04f3d3c36f94105692e9536e1fe /instfiles
parente702ac79d4700f73a4e9fc3d45c0d68e6e0ce846 (diff)
downloadxrdp-proprietary-4abac0a05d7b752e90f64fe30a01cee9ced725e4.tar.gz
xrdp-proprietary-4abac0a05d7b752e90f64fe30a01cee9ced725e4.zip
remove awkward rsakeys.init comparison
Diffstat (limited to 'instfiles')
-rw-r--r--instfiles/init.d/xrdp2
1 files changed, 1 insertions, 1 deletions
diff --git a/instfiles/init.d/xrdp b/instfiles/init.d/xrdp
index f9804381..2cf20999 100644
--- a/instfiles/init.d/xrdp
+++ b/instfiles/init.d/xrdp
@@ -67,7 +67,7 @@ if [ "$(id -u)" = "0" ]; then
chown $USERID:$USERID $PIDDIR
# Check for rsa key
- if [ ! -f $RSAKEYS ] || cmp $RSAKEYS /usr/share/doc/xrdp/rsakeys.ini > /dev/null; then
+ if [ ! -f $RSAKEYS ] ; then
log_action_begin_msg "Generating xrdp RSA keys..."
(umask 077 ; xrdp-keygen xrdp $RSAKEYS)
chown $USERID:$USERID $RSAKEYS