summaryrefslogtreecommitdiffstats
path: root/autoscripts/postinst-init
blob: 8da1a734d8160ed328060304638370e09e601a84 (plain)
1
2
3
4
5
6
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -z "${DPKG_ROOT:-}" ] && [ -x "/etc/init.d/#SCRIPT#" ]; then
		update-rc.d #SCRIPT# #INITPARMS# >/dev/null
		invoke-rc.d #INVOKE_RCD_PARAMS##SCRIPT# start || #ERROR_HANDLER#
	fi
fi