summaryrefslogtreecommitdiffstats
path: root/autoscripts/preinst-init-stop
blob: 1cb017591d77ea3d07e0188538f76d8fd596469a (plain)
1
2
3
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = upgrade ] && [ -x "/etc/init.d/#SCRIPT#" ] ; then
	invoke-rc.d #INVOKE_RCD_PARAMS##SCRIPT# stop || #ERROR_HANDLER#
fi