From 50ee9340b49c01916e1be14bdc1f0a60828c8971 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Thu, 26 Apr 2012 16:11:55 +0800 Subject: [PATCH] isdnutils-base: use dh_installcron instead of postinst. Closes: #197254 - this fixes an RC-level severity problem for isdnutils-base the problem with isdnlog and isdn.conf still needs to be dealt with --- debian/isdnutils-base.cron.d | 5 +++++ debian/isdnutils-base.postinst | 41 ---------------------------------- 2 files changed, 5 insertions(+), 41 deletions(-) create mode 100644 debian/isdnutils-base.cron.d delete mode 100644 debian/isdnutils-base.postinst diff --git a/debian/isdnutils-base.cron.d b/debian/isdnutils-base.cron.d new file mode 100644 index 0000000..0288c9b --- /dev/null +++ b/debian/isdnutils-base.cron.d @@ -0,0 +1,5 @@ +# Change the line below for your local requirements and uncomment them. +# Use "init q" to reread inittab. +# look at the mgetty manpage for more information (mgetty isn't standard!) +# +#I0:2345:respawn:/sbin/mgetty -D -m '"" ATZ OK AT&Eyourmsnhere OK AT&B512 OK' -s 38400 ttyI0 diff --git a/debian/isdnutils-base.postinst b/debian/isdnutils-base.postinst deleted file mode 100644 index f0fcb65..0000000 --- a/debian/isdnutils-base.postinst +++ /dev/null @@ -1,41 +0,0 @@ -#! /bin/sh -# postinst script for isdnutils(-base) - -set -e - -case "$1" in - configure) - if ! grep -q '#-- isdnutils begin' /etc/inittab; then - cat >>/etc/inittab <&2 - exit 0 - ;; -esac - -#DEBHELPER# - -exit 0