summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-07-30 13:42:59 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-07-30 13:42:59 -0700
commitcbdcd18b2e5328d24a9dfe04dfa015f8375b50ac (patch)
treed4bfe296aa28903e7c86a8b6461089c02a6b5b71 /debian
parent755102d1b351fc1ab8fabc6f72113bdc4ca18e07 (diff)
downloadvyatta-cfg-system-cbdcd18b2e5328d24a9dfe04dfa015f8375b50ac.tar.gz
vyatta-cfg-system-cbdcd18b2e5328d24a9dfe04dfa015f8375b50ac.zip
Fix 4748: Pre-login message files (/etc/issue,/etc/issue.net) are
replaced with Debian branding during full-upgrade to Jenner
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in6
1 files changed, 6 insertions, 0 deletions
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