summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-init')
-rw-r--r--autoscripts/postinst-init6
1 files changed, 1 insertions, 5 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init
index 6a1c5727..2430b2c0 100644
--- a/autoscripts/postinst-init
+++ b/autoscripts/postinst-init
@@ -1,8 +1,4 @@
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