]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-init
Merge commit 'remotes/modestas/buildsystems' into buildsystems
[debhelper.git] / autoscripts / postinst-init
1 if [ -x "/etc/init.d/#SCRIPT#" ]; then
2         update-rc.d #SCRIPT# #INITPARMS# >/dev/null
3         if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
4                 invoke-rc.d #SCRIPT# start || #ERROR_HANDLER#
5         else
6                 /etc/init.d/#SCRIPT# start || #ERROR_HANDLER#
7         fi
8 fi