summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index a317354a..6349b748 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -47,6 +47,9 @@ if [ "$sysconfdir" != "/etc" ]; then
# ssh v1. remove the empty key file
rm /etc/ssh/ssh_host_key
+ # remove unnecessary files
+ rm /etc/logrotate.d/*.vyatta-save >& /dev/null
+
# quagga/daemons
sed 's/=no/=yes/' /etc/quagga/daemons.vyatta-save > /etc/quagga/daemons
fi