diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-07-28 18:16:44 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-07-28 18:16:44 +0200 |
commit | 908c4346d9f66b96d12767bfe9e53d45fb24a6f6 (patch) | |
tree | d3ecc1aee9042a99e98b7252e681a79da5b90b08 /debian/ipmitool.postinst | |
parent | c41d9476dcfce18a0105f96e9b63272e63f15051 (diff) |
Add System V init scripts again
Diffstat (limited to 'debian/ipmitool.postinst')
-rw-r--r-- | debian/ipmitool.postinst | 17 |
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# |