summaryrefslogtreecommitdiff
path: root/debian/mdadm.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mdadm.postrm')
-rw-r--r--debian/mdadm.postrm4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/mdadm.postrm b/debian/mdadm.postrm
index 11de7c7e..668100a7 100644
--- a/debian/mdadm.postrm
+++ b/debian/mdadm.postrm
@@ -14,6 +14,10 @@ case "${1:-}" in
fi
;;
+ purge)
+ rm -f /etc/default/mdadm /etc/mdadm.conf /etc/mdadm/mdadm.conf
+ ;;
+
esac
[ -d /run/systemd/system ] && systemctl --system daemon-reload >/dev/null || :