summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postrm
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-11-23 08:52:53 -0800
committerStephen Hemminger <shemminger@vyatta.com>2011-11-23 08:52:53 -0800
commitcabdd9d768ec110f0e92076e3a4bcbbcb6552a21 (patch)
tree12cab98ddc47aaec480078e8ad369e120ac568b0 /debian/vyatta-cfg-system.postrm
parentdcff7e2c90f21cc7eb7e08ca054c8779dc0b22fd (diff)
downloadvyatta-cfg-system-cabdd9d768ec110f0e92076e3a4bcbbcb6552a21.tar.gz
vyatta-cfg-system-cabdd9d768ec110f0e92076e3a4bcbbcb6552a21.zip
Move vyatta changes to sudoers to separate file
Bug 6916 Rather than editing /etc/sudoers which can lead to package conflicts, put Vyatta specific changes into a separate file.
Diffstat (limited to 'debian/vyatta-cfg-system.postrm')
-rw-r--r--debian/vyatta-cfg-system.postrm1
1 files changed, 0 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postrm b/debian/vyatta-cfg-system.postrm
index 413780b5..752265e2 100644
--- a/debian/vyatta-cfg-system.postrm
+++ b/debian/vyatta-cfg-system.postrm
@@ -1,7 +1,6 @@
#!/bin/bash
if [ "$1" = "purge" ]; then
- sed -i -e '/### BEGIN VYATTA/,/### END VYATTA/d' /etc/sudoers
sed -i -e 'g/^password/d' /etc/pam.d/password
update-rc.d vyatta-config-reboot-params remove
fi