20 lines
364 B
Bash
Executable file
20 lines
364 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
case "$1" in
|
|
purge)
|
|
rm -f /etc/modules
|
|
;;
|
|
esac
|
|
|
|
# Automatically added by dh_installinit/13.11.1
|
|
if [ "$1" = "remove" ] && [ -x "/etc/init.d/kmod" ] ; then
|
|
chmod -x "/etc/init.d/kmod" >/dev/null || true
|
|
fi
|
|
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then
|
|
update-rc.d kmod remove >/dev/null
|
|
fi
|
|
# End automatically added section
|
|
|
|
|
|
exit 0
|