freenetis-monitoring-github/deb/prerm @ 1cb0a3be
1cb0a3be | Ondřej Fibich | #!/bin/sh
|
|
# FreenetIS DEB: actions before uninstalling of package
|
|||
set -e
|
|||
NAME=freenetis-monitoring
|
|||
CONFIGFILE=/etc/freenetis/freenetis-monitoring.conf
|
|||
# stop daemon
|
|||
if [ -x /usr/sbin/invoke-rc.d ]; then
|
|||
invoke-rc.d $NAME stop 3>/dev/null || true
|
|||
else
|
|||
/etc/init.d/$NAME stop 3>/dev/null || true
|
|||
fi
|
|||
exit 0
|