From a1826fa0ea6118fef426bcea8bdf7cee7388db72 Mon Sep 17 00:00:00 2001 From: Matthew Johnson Date: Thu, 13 Dec 2007 09:44:56 +0000 Subject: import ipmitool --- debian/ipmitool.postinst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 debian/ipmitool.postinst (limited to 'debian/ipmitool.postinst') diff --git a/debian/ipmitool.postinst b/debian/ipmitool.postinst new file mode 100644 index 0000000..fe73290 --- /dev/null +++ b/debian/ipmitool.postinst @@ -0,0 +1,14 @@ +#!/bin/sh + +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# -- cgit v1.2.3