#! /bin/sh # preinst script for xymon set -e case "$1" in install|upgrade) # stop the client when the server is installed invoke-rc.d xymon-client stop || true ;; esac # Automatically added by dh_installinit/14.3 if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/xymon" ] ; then chmod +x "/etc/init.d/xymon" >/dev/null || true fi # End automatically added section exit 0