Drop support for /etc/grml/autoconfig.small; support /live/image/bootparams/ again
[grml-autoconfig.git] / debian / postrm
1 #!/bin/sh
2 set -e
3
4 if [ "$1" = "purge" ]; then
5   update-rc.d grml-autoconfig remove >/dev/null || exit 0
6
7 # don't delete /etc/init.d/bootlocal* scripts, even not when purging - notice therefore:
8   INITSCRIPT=bootlocal
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"
16   fi
17 fi
18
19 #DEBHELPER#
20
21 exit 0