* config_time: use option --directisa for hwclock if running hwclock
[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   . /etc/grml/lsb-functions
9   INITSCRIPT=bootlocal
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"
17   fi
18 fi
19
20 exit 0