diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 735b28e7..b21437a5 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -31,8 +31,9 @@ if [ "$sysconfdir" != "/etc" ]; then echo -e "\n%sudo ALL=NOPASSWD: ALL" >> /etc/sudoers fi - # cleanup any old entries + # cleanup any old entries from previous versions ed - /etc/sudoers <<EOF +/### BEGIN VYATTA/,/### END VYATTA/d /Cmnd_Alias IPTABLE/,/PPPOE_CMDS/d g/sudo-users/d g/env_keep+=VYATTA/d |