summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postrm
blob: 46ec1aaa54a22c693283f35505f519e299fa11c5 (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 '/### BEGIN VYATTA/,/### END VYATTA/d' /etc/sudoers

fi

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