diff options
author | Matthew Johnson <mjj29@hecate.matthew.ath.cx> | 2007-12-13 09:44:56 +0000 |
---|---|---|
committer | Matthew Johnson <mjj29@hecate.matthew.ath.cx> | 2007-12-13 09:44:56 +0000 |
commit | a1826fa0ea6118fef426bcea8bdf7cee7388db72 (patch) | |
tree | 86f64e06f9746307a8bca9da46975da8ff0bc915 /debian/ipmitool.postinst |
import ipmitool
Diffstat (limited to 'debian/ipmitool.postinst')
-rw-r--r-- | debian/ipmitool.postinst | 14 |
1 files changed, 14 insertions, 0 deletions
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# |