summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postrm
blob: 413780b505cf096cfe5f65d39ab699b592828c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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

# Local Variables:
# mode: shell-script
# sh-indentation: 4
# End: