if [ -x "/etc/init.d/#SCRIPT#" ]; then
	update-rc.d #SCRIPT# #INITPARMS# >/dev/null
	if [ -n "$2" ]; then
		_dh_action=restart
	else
		_dh_action=start
	fi
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d #SCRIPT# $_dh_action || #ERROR_HANDLER#
	else
		/etc/init.d/#SCRIPT# $_dh_action || #ERROR_HANDLER#
	fi
fi
