summaryrefslogtreecommitdiffstats
path: root/debian/udev.postrm
blob: a4e64553af694fa77a421aee920523be25879e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

case "$1" in
    purge)
        rm -f /etc/udev/rules.d/70-persistent-*.rules
        rmdir --ignore-fail-on-non-empty /etc/udev/rules.d/ 2> /dev/null || true
        rm -f /usr/lib/udev/hwdb.bin
        rm -f /var/log/udev
    ;;
esac

#DEBHELPER#