diff -Nur e-smith-openssh-2.4.0.bz.8939.old/root/etc/e-smith/db/configuration/defaults/sshd/MotdStatus e-smith-openssh-2.4.0.bz.8939/root/etc/e-smith/db/configuration/defaults/sshd/MotdStatus --- e-smith-openssh-2.4.0.bz.8939.old/root/etc/e-smith/db/configuration/defaults/sshd/MotdStatus 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-openssh-2.4.0.bz.8939/root/etc/e-smith/db/configuration/defaults/sshd/MotdStatus 2015-06-25 19:04:29.320484394 +0200 @@ -0,0 +1 @@ +enabled diff -Nur e-smith-openssh-2.4.0.bz.8939.old/root/etc/e-smith/templates/etc/ssh/sshd_config/60PrintMotd e-smith-openssh-2.4.0.bz.8939/root/etc/e-smith/templates/etc/ssh/sshd_config/60PrintMotd --- e-smith-openssh-2.4.0.bz.8939.old/root/etc/e-smith/templates/etc/ssh/sshd_config/60PrintMotd 2015-06-25 18:33:53.112340974 +0200 +++ e-smith-openssh-2.4.0.bz.8939/root/etc/e-smith/templates/etc/ssh/sshd_config/60PrintMotd 2015-06-25 18:35:25.276957426 +0200 @@ -1 +1,13 @@ -PrintMotd no +{ +my $MotdStatus = $sshd{'MotdStatus'} || 'enabled'; + +if ( $MotdStatus eq 'disabled' ) + { + $OUT .= "PrintMotd no\n"; + } + +else + { + $OUT .= "PrintMotd yes\n"; + } +}