#!/bin/sh # If we're called for upgrade, don't do anything if [ "$1" != "upgrade" -a "$1" != "purge" ]; then /opt/microsoft/omsagent/bin/service_control disable /opt/microsoft/omsagent/bin/configure_syslog.sh purge fi exit 0