diff -Nru sysvinit-2.87dsf/debian/changelog sysvinit-2.87dsf/debian/changelog --- sysvinit-2.87dsf/debian/changelog 2011-05-26 06:55:27.000000000 -0400 +++ sysvinit-2.87dsf/debian/changelog 2011-06-07 10:27:26.000000000 -0400 @@ -1,3 +1,12 @@ +sysvinit (2.87dsf-4ubuntu17.4) lucid-proposed; urgency=low + + [ https://launchpad.net/~nutznboltz ] + + * Do not tail /etc/motd to /etc/motd.tail if the former is a + symlink. This prevents double motd banners on login. (LP: #634387) + + -- Barry Warsaw Tue, 07 Jun 2011 10:25:06 -0400 + sysvinit (2.87dsf-4ubuntu17.3) lucid-proposed; urgency=low * debian/sysv-rc/sbin/invoke-rc.d: replace RUNLEVEL with RUNLEVELHELPER. diff -Nru sysvinit-2.87dsf/debian/initscripts.postinst sysvinit-2.87dsf/debian/initscripts.postinst --- sysvinit-2.87dsf/debian/initscripts.postinst 2009-10-14 00:15:31.000000000 -0400 +++ sysvinit-2.87dsf/debian/initscripts.postinst 2011-06-07 10:24:48.000000000 -0400 @@ -227,7 +227,7 @@ # if [ ! -f /etc/motd.tail ] then - if [ -f /etc/motd ] + if [ -f /etc/motd -a ! -L /etc/motd ] then sed 1d /etc/motd > /etc/motd.tail [ -s /etc/motd.tail ] || rm -f /etc/motd.tail