diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-04 13:06:19 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-04 13:21:17 -0700 |
commit | 471387b1db7f6e9952ae0d709840560cb0d0bc6d (patch) | |
tree | d56beadd76a99fa795c8ccb939393c9115c3419d /debian/vyatta-cfg-system.postrm | |
parent | 1fb175a266e45828a5588e2f44660c2a70057bf0 (diff) | |
download | vyatta-cfg-quagga-471387b1db7f6e9952ae0d709840560cb0d0bc6d.tar.gz vyatta-cfg-quagga-471387b1db7f6e9952ae0d709840560cb0d0bc6d.zip |
Modify upgrade procedure for /etc/sudoers
Bugfix 3429
0) make backup of file
1) remove old glendale entries
2) put all vyatta entries in one block
3) remove vyatta entries on package removal
Diffstat (limited to 'debian/vyatta-cfg-system.postrm')
-rw-r--r-- | debian/vyatta-cfg-system.postrm | 3 |
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: |