summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
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