2014-10-20 16:02:15 -05:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if [ "$1" = purge ]; then
|
|
|
|
rm -f /etc/ipa/default.conf
|
2015-03-04 04:17:56 -06:00
|
|
|
rm -f /etc/pki/nssdb/cert8.db \
|
|
|
|
/etc/pki/nssdb/key3.db \
|
|
|
|
/etc/pki/nssdb/secmod.db
|
2015-09-23 22:10:10 -05:00
|
|
|
rm -f /etc/ipa/nssdb/cert8.db \
|
|
|
|
/etc/ipa/nssdb/key3.db \
|
|
|
|
/etc/ipa/nssdb/pwdfile.txt \
|
2015-09-24 11:14:37 -05:00
|
|
|
/etc/ipa/nssdb/secmod.db \
|
|
|
|
/etc/ipa/nssdb/*.orig
|
|
|
|
rmdir /etc/pki/nssdb || true
|
|
|
|
rmdir /etc/ipa/nssdb || true
|
|
|
|
rmdir /etc/ipa || true
|
2016-10-26 11:34:58 -05:00
|
|
|
rm -rf /var/lib/ipa-client
|
|
|
|
rm -f /var/log/ipaclient-upgrade.log
|
2014-10-20 16:02:15 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|