summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-07-30 13:42:59 -0700
committerBob Gilligan <gilligan@vyatta.com>2009-07-30 13:58:46 -0700
commitc87c1a8bfa9a68dcc5c554ada1274ebcf44b5c2b (patch)
tree92c5b8b4aa7022790805a7f507838476364ae50a /debian
parente5e5ef0458a2348fe60383d56ea7cc13e19f1da0 (diff)
downloadvyatta-cfg-system-c87c1a8bfa9a68dcc5c554ada1274ebcf44b5c2b.tar.gz
vyatta-cfg-system-c87c1a8bfa9a68dcc5c554ada1274ebcf44b5c2b.zip
Fix 4748: Pre-login message files (/etc/issue,/etc/issue.net) are
replaced with Debian branding during full-upgrade to Jenner (cherry picked from commit cbdcd18b2e5328d24a9dfe04dfa015f8375b50ac)
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