remove awkward rsakeys.init comparison

ulab-next
Gustavo Homem 11 years ago
parent e702ac79d4
commit 4abac0a05d

@ -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

Loading…
Cancel
Save