summaryrefslogtreecommitdiff
path: root/debian/ipmitool.postinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-08 11:03:50 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-08-08 11:03:50 +0200
commitda9d6f1d17e5286e5184bcd531bf96437715ccc0 (patch)
tree38603a07d6e21897e36a6bea9a317ea6fe749499 /debian/ipmitool.postinst
parent0b3d64bac46bb7b8bcbf8677bbe96bc1f00ba038 (diff)
parentd585f58231c5adb9249a4c70b9918eac4483908e (diff)
Merge branch 'release/debian/1.8.18-9'debian/1.8.18-9
Diffstat (limited to 'debian/ipmitool.postinst')
-rw-r--r--debian/ipmitool.postinst17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/ipmitool.postinst b/debian/ipmitool.postinst
new file mode 100644
index 0000000..b09b515
--- /dev/null
+++ b/debian/ipmitool.postinst
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+
+ipmievd_initd_failed() {
+ echo "Unable to start ipmievd during installation. Trying to disable."
+ if [ -f /etc/default/ipmievd ] && \
+ grep -q ^ENABLED=\"false\" /etc/default/ipmievd ; then
+ :
+ else
+ touch /etc/default/ipmievd
+ echo "ENABLED=\"false\"" >> /etc/default/ipmievd
+ fi
+}
+
+#DEBHELPER#