diff options
Diffstat (limited to 'debian/vyos-1x.postinst')
-rw-r--r-- | debian/vyos-1x.postinst | 9 |
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 |