]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-init
r547: * Use invoke-rc.d always now that it is in policy. Fall back to old behavior
[debhelper.git] / autoscripts / postinst-init
1 if [ -x "/etc/init.d/#SCRIPT#" ]; then
2         update-rc.d #SCRIPT# #INITPARMS# >/dev/null
3         if [ -x /usr/sbin/invoke-rc.d ]; then
4                 invoke-rc.d #SCRIPT# start
5         else
6                 /etc/init.d/#SCRIPT# start
7         fi
8 fi