#!/bin/sh set -e PATH="/usr/sbin:/usr/bin:/sbin:/bin" case "$1" in remove|purge|upgrade) if [ -x "/etc/init.d/lliurex-tcos-srv-common" ]; then if [ -x $(which invoke-rc.d 2>/dev/null) ]; then invoke-rc.d lliurex-tcos-srv-common stop else /etc/init.d/lliurex-tcos-srv-common stop fi fi update-rc.d -f lliurex-tcos-srv-common remove >/dev/null 2>&1 ||true ;; esac #DEBHELPER# exit 0