#!/bin/sh
set -e

if [ "$1" = "purge" ]
then
    update-rc.d pcmcia remove >/dev/null
    rm -f /etc/pcmcia.conf
    if test -d /etc/pcmcia; then rm -rf /etc/pcmcia; fi
fi
