X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=debian%2Fpostinst;h=da1ffc603c39f7f4dca643ba8b583bfc20447e41;hp=3783fbeaa024f34577d5b2f435ecce28bfd7de35;hb=c5439016b869d64beb52adcaf406a3f34bd36992;hpb=32e5d4dfe9956856074d95a1b4b535fac2fcbdcd diff --git a/debian/postinst b/debian/postinst index 3783fbe..da1ffc6 100755 --- a/debian/postinst +++ b/debian/postinst @@ -3,70 +3,6 @@ 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 -DATE=$(date) - -# bootup -INITSCRIPT=bootlocal -INITNAME=/etc/init.d/${INITSCRIPT} - -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 - -# shutdown -INITSCRIPT=haltlocal -INITNAME=/etc/init.d/${INITSCRIPT} - -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 stop 29 0 1 6 . >/dev/null -update-rc.d ${INITSCRIPT}.last stop 99 0 1 6 . >/dev/null - -# end of "create special init scripts which won't be touched any more by grml" fi #DEBHELPER#