summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-05 20:51:13 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-05 20:51:13 +0100
commitaa8080d316dbeb4d26bf67f6d67efeda43b2bc07 (patch)
tree48b3913ce809318f31aceb31af620c7d041363d8 /debian
parent2c94c3ec72a559de405b29b4399250db3085717e (diff)
downloadvyos-1x-aa8080d316dbeb4d26bf67f6d67efeda43b2bc07.tar.gz
vyos-1x-aa8080d316dbeb4d26bf67f6d67efeda43b2bc07.zip
conntrackd: T4259: fix daemon configuration path
Diffstat (limited to 'debian')
-rw-r--r--debian/vyos-1x.postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index 4b4c4c13e..ffd631b1f 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -83,3 +83,12 @@ fi
if [ -L /etc/init.d/README ]; then
rm -f /etc/init.d/README
fi
+
+# Remove unwanted daemon files from /etc
+# conntackd
+DELETE="/etc/logrotate.d/conntrackd.distrib /etc/init.d/conntrackd /etc/default/conntrackd"
+for file in $DELETE; do
+ if [ -f ${file} ]; then
+ rm -f ${file}
+ fi
+done