From cbdcd18b2e5328d24a9dfe04dfa015f8375b50ac Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Thu, 30 Jul 2009 13:42:59 -0700 Subject: Fix 4748: Pre-login message files (/etc/issue,/etc/issue.net) are replaced with Debian branding during full-upgrade to Jenner --- debian/vyatta-cfg-system.postinst.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian/vyatta-cfg-system.postinst.in') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 38757106..a44fe657 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -109,6 +109,12 @@ EOF # purge off ancient devfs stuff from /etc/securetty cp $sysconfdir/securetty /etc/securetty + + for f in issue issue.net; do + if [ ! -e /etc/$f.old ]; then + cp $sysconfdir/$f /etc/$f + fi + done fi # update crontab for logrotate -- cgit v1.2.3