summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init
blob: 6a1c5727e14972f512b32b5d4141c625f2a9f0fe (plain)
1
2
3
4
5
6
7
8
if [ -x "/etc/init.d/#SCRIPT#" ]; then
	update-rc.d #SCRIPT# #INITPARMS# >/dev/null
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d #SCRIPT# start || #ERROR_HANDLER#
	else
		/etc/init.d/#SCRIPT# start || #ERROR_HANDLER#
	fi
fi