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:
8 . /etc/grml/lsb-functions
10 INITNAME=/etc/init.d/$INITSCRIPT
11 if [ -r "${INITNAME}.first" ] ; then
12 ewarn "Notice: ${INITNAME}.{first,middle,last} won't be deleted automatically." ; eend 0
13 ewarn "If you want to remove them delete them manually and then run:"
14 echo " update-rc.d ${INITSCRIPT}.first remove"
15 echo " update-rc.d ${INITSCRIPT}.middle remove"
16 echo " update-rc.d ${INITSCRIPT}.last remove"