From 2231ef8c0c4e678468a6f031a972ab9a25334e3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 26 Dec 2019 20:44:25 +0100 Subject: Remove System V artefacte --- debian/ipmitool.postrm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/ipmitool.postrm (limited to 'debian/ipmitool.postrm') diff --git a/debian/ipmitool.postrm b/debian/ipmitool.postrm new file mode 100644 index 0000000..f6d6ee9 --- /dev/null +++ b/debian/ipmitool.postrm @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + + +# +# remove System V init file artefacte +# new since 1.8.18-9 +# +if [ "$1" = "purge" ] | [ "$1" = "remove" ]; then + rm -f /etc/rc0.d/K01ipmievd + rm -f /etc/rc1.d/K01ipmievd + rm -f /etc/rc2.d/K01ipmievd + rm -f /etc/rc3.d/K01ipmievd + rm -f /etc/rc4.d/K01ipmievd + rm -f /etc/rc5.d/K01ipmievd + rm -f /etc/rc6.d/K01ipmievd +fi + +#DEBHELPER# -- cgit v1.2.3 From 908c4346d9f66b96d12767bfe9e53d45fb24a6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 28 Jul 2020 18:16:44 +0200 Subject: Add System V init scripts again --- debian/ipmitool.postrm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'debian/ipmitool.postrm') diff --git a/debian/ipmitool.postrm b/debian/ipmitool.postrm index f6d6ee9..6cd9693 100644 --- a/debian/ipmitool.postrm +++ b/debian/ipmitool.postrm @@ -3,18 +3,8 @@ set -e -# -# remove System V init file artefacte -# new since 1.8.18-9 -# -if [ "$1" = "purge" ] | [ "$1" = "remove" ]; then - rm -f /etc/rc0.d/K01ipmievd - rm -f /etc/rc1.d/K01ipmievd - rm -f /etc/rc2.d/K01ipmievd - rm -f /etc/rc3.d/K01ipmievd - rm -f /etc/rc4.d/K01ipmievd - rm -f /etc/rc5.d/K01ipmievd - rm -f /etc/rc6.d/K01ipmievd -fi +ipmievd_initd_failed() { + : +} #DEBHELPER# -- cgit v1.2.3