#! /bin/sh

if [ purge = "$1" ]; then
  update-rc.d setserial remove >/dev/null
fi

if test -x /sbin/update-modules ; then
  if ! /sbin/update-modules >/dev/null ; then
    echo "You have update-modules, but it reported an error...continuing" >&2
  fi
fi

# Automatically added by dh_installdebconf
if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section

