if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; then
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER#
	else
		/etc/init.d/#SCRIPT# stop || #ERROR_HANDLER#
	fi
fi
