4 if [ "$1" = "purge" ]; then
5 update-rc.d grml-autoconfig remove >/dev/null || exit 0
7 # don't delete /etc/init.d/bootlocal* scripts, even not when purging - notice therefore:
9 INITNAME=/etc/init.d/$INITSCRIPT
10 if [ -r "${INITNAME}.first" ] ; then
11 echo "Notice: ${INITNAME}.{first,middle,last} won't be deleted automatically."
12 echo "If you want to remove them delete them manually and then run:"
13 echo " update-rc.d ${INITSCRIPT}.first remove"
14 echo " update-rc.d ${INITSCRIPT}.middle remove"
15 echo " update-rc.d ${INITSCRIPT}.last remove"