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
+ invoke-rc.d #SCRIPT# start || #ERROR_HANDLER#
fi