Edit file File name : mpt-status.postinst Content :#!/bin/sh set -e # Automatically added by dh_installinit/11.1.6ubuntu1 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -x "/etc/init.d/mpt-statusd" ]; then update-rc.d mpt-statusd defaults >/dev/null invoke-rc.d mpt-statusd start || exit 1 fi fi # End automatically added section Save