summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 23:49:35 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 23:49:35 +0200
commita446922f05b1fc4bc21d45bf15f968eaeba0bd1c (patch)
tree714213c6099b9b19af01ba46fa14456ba3e96a92
parente9c470087330f410c9d5dcee98c2c0f6dd0f8c16 (diff)
downloadvyatta-cfg-system-a446922f05b1fc4bc21d45bf15f968eaeba0bd1c.tar.gz
vyatta-cfg-system-a446922f05b1fc4bc21d45bf15f968eaeba0bd1c.zip
Debian: postinst: cleanup install code for no longer available files
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in11
1 files changed, 0 insertions, 11 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index ce11379c..6927fa97 100755
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -17,23 +17,12 @@ if [ "$sysconfdir" != "/etc" ]; then
-e '/sudo-users/d' \
-e '/env_keep+=VYATTA/d' || true
- # purge off ancient devfs stuff from /etc/securetty
- cp $sysconfdir/securetty /etc/securetty
-
# Set file capabilities
sed -r -e '/^#/d' -e '/^[[:blank:]]*$/d' < $sysconfdir/filecaps | \
while read capability path; do
touch -c $path
setcap $capability $path
done
-
- # Install pam_cap config
- cp $sysconfdir/capability.conf /etc/security/capability.conf
-
- # Install our own version of rsyslog.conf without
- # default targets
- mv /etc/rsyslog.conf /etc/rsyslog.conf.orig
- cp $sysconfdir/rsyslog.conf /etc/rsyslog.conf
fi
# create needed directories