#!/bin/sh
# post remove script for the Debian GNU/Linux modutils package

set -e

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

if test -x /usr/bin/update-menus; then update-menus; fi

