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:54:15 +0100
commit0aa13010b1a013edc3c3a89a007108dfbb82bdad (patch)
tree94ef398394e337dcc494404e2c92577419840368 /debian
parent36c46f5893fa1f4df1defcee851e44ca3ed1fd8f (diff)
downloadvyos-1x-0aa13010b1a013edc3c3a89a007108dfbb82bdad.tar.gz
vyos-1x-0aa13010b1a013edc3c3a89a007108dfbb82bdad.zip
conntrackd: T4259: fix daemon configuration path
(cherry picked from commit aa8080d316dbeb4d26bf67f6d67efeda43b2bc07)
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 92948de12..d54f6c5af 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -33,3 +33,12 @@ fi
# ensure hte proxy user has a proper shell
chsh -s /bin/sh proxy
+
+# 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