#!/bin/sh set -e if [ "$1" = "configure" ]; then update-rc.d grml-autoconfig start 30 2 . >/dev/null # begin of "create special init scripts which won't be touched any more by grml" . /etc/grml/lsb-functions INITSCRIPT=bootlocal INITNAME=/etc/init.d/${INITSCRIPT} DATE=$(date) for initscript in ${INITNAME}.first ${INITNAME}.middle ${INITNAME}.last ; do if ! [ -r "$initscript" ] ; then einfo "Creating ${initscript}" cat >$initscript </dev/null update-rc.d ${INITSCRIPT}.middle start 29 2 . >/dev/null update-rc.d ${INITSCRIPT}.last start 99 2 . >/dev/null # end of "create special init scripts which won't be touched any more by grml" fi #DEBHELPER# exit 0