From cabdd9d768ec110f0e92076e3a4bcbbcb6552a21 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 23 Nov 2011 08:52:53 -0800 Subject: 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. --- debian/vyatta-cfg-system.postrm | 1 - 1 file changed, 1 deletion(-) (limited to 'debian/vyatta-cfg-system.postrm') 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 -- cgit v1.2.3