summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-restart
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-init-restart')
-rw-r--r--autoscripts/postinst-init-restart6
1 files changed, 1 insertions, 5 deletions
diff --git a/autoscripts/postinst-init-restart b/autoscripts/postinst-init-restart
index ba4b3a0..35bba20 100644
--- a/autoscripts/postinst-init-restart
+++ b/autoscripts/postinst-init-restart
@@ -5,9 +5,5 @@ if [ -x "/etc/init.d/#SCRIPT#" ]; then
else
_dh_action=start
fi
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d #SCRIPT# $_dh_action || #ERROR_HANDLER#
- else
- /etc/init.d/#SCRIPT# $_dh_action || #ERROR_HANDLER#
- fi
+ invoke-rc.d #SCRIPT# $_dh_action || #ERROR_HANDLER#
fi