remove awkward rsakeys.init comparison
This commit is contained in:
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…
Reference in New Issue
Block a user