#!/bin/sh
set -e

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