Current Path : /usr/src/crypto/heimdal/packages/debian/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/crypto/heimdal/packages/debian/heimdal-kdc.postrm |
#!/bin/sh -e remove_servers() { update-inetd --remove 'kerberos-adm[ \t].*[ \t]/usr/lib/heimdal-servers/kadmind' update-inetd --remove 'krb_prop[ \t].*[ \t]/usr/sbin/hpropd' } case "$1" in abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear) ;; purge) # If netbase is not installed, then we don't need to do the remove. if command -v update-inetd >/dev/null 2>&1; then remove_servers fi ;; *) echo "$0: incorrect arguments: $*" >&2 exit 1 ;; esac if [ "$1" = "purge" ] then rm -f /var/log/heimdal-kdc.log* rm -rf /var/lib/heimdal-kdc rm -f /etc/heimdal-kdc/.configured rm -f /etc/heimdal-kdc/kdc.conf rm -f /etc/heimdal-kdc/kadmind.acl fi #DEBHELPER#