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

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