summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vyatta-cfg-system.postrm')
-rw-r--r--debian/vyatta-cfg-system.postrm3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postrm b/debian/vyatta-cfg-system.postrm
index d668f55d..46ec1aaa 100644
--- a/debian/vyatta-cfg-system.postrm
+++ b/debian/vyatta-cfg-system.postrm
@@ -2,6 +2,9 @@
if [ "$1" = "purge" ]; then
rm -f /etc/udev/rules.d/*vyatta-net.rules
+
+ sed -i '/### BEGIN VYATTA/,/### END VYATTA/d' /etc/sudoers
+
fi
# Local Variables: