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 /lib/udev/hwdb.bin rm -f /var/log/udev ;; esac #DEBHELPER#