]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-init
8128cd96fcc641b7d959e6df26422334d36deb60
[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 || #ERROR_HANDLER#
5         else
6                 /etc/init.d/#SCRIPT# start || #ERROR_HANDLER#
7         fi
8 fi