diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:43:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:43:03 +0000 |
commit | f504d0d8a469f3f913a853e97020112fcf262c1b (patch) | |
tree | 25a4b573f8fc510c99d931a382598bee699a215c /debian/wide-dhcpv6-client.postrm | |
parent | Adding upstream version 20080615. (diff) | |
download | wide-dhcpv6-f504d0d8a469f3f913a853e97020112fcf262c1b.tar.xz wide-dhcpv6-f504d0d8a469f3f913a853e97020112fcf262c1b.zip |
Adding debian version 20080615-23.debian/20080615-23debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/wide-dhcpv6-client.postrm')
-rw-r--r-- | debian/wide-dhcpv6-client.postrm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/wide-dhcpv6-client.postrm b/debian/wide-dhcpv6-client.postrm new file mode 100644 index 0000000..78127fc --- /dev/null +++ b/debian/wide-dhcpv6-client.postrm @@ -0,0 +1,27 @@ +#!/bin/sh + +set -e + +case "$1" in + purge) + # Remove var files + if [ -e /var/lib/dhcpv6/dhcp6c_duid ]; then + rm -f /var/lib/dhcpv6/dhcp6c_duid + fi + + if [ -e /etc/default/wide-dhcpv6-client ]; then + rm -f /etc/default/wide-dhcpv6-client + fi + + if [ -e /etc/wide-dhcpv6/dhcp6cctlkey ]; then + rm -rf /etc/wide-dhcpv6/dhcp6cctlkey + fi + ;; + *) + # Nothing to do... + ;; +esac + +#DEBHELPER# + +exit 0 |