#! /bin/sh
set -e

case $1 in
	purge)
		rm -f /etc/default/pcmciautils
		rm -f /etc/udev/rules.d/85-pcmcia.rules
		rm -f /etc/pcmcia/config.opts /etc/pcmcia/config.opts~
		rmdir /etc/pcmcia || true
		;;
esac

# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
	update-rc.d pcmciautils remove >/dev/null || exit $?
fi
# End automatically added section


exit 0
