summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postrm
blob: 5b22f66b6a1df013cc9cc5be9145a6c9ff83dd60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

if [ "$1" = "purge" ]; then
    rm -f /etc/udev/rules.d/*vyatta-net.rules

    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: