summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init
diff options
context:
space:
mode:
authorjoey <joey>2005-01-05 00:09:57 +0000
committerjoey <joey>2005-01-05 00:09:57 +0000
commit982e8935d2259eacf196e2b8d3364d0286e953ca (patch)
tree36a72155f1e2dc886062e555ac3d1d06cf7c430b /autoscripts/postinst-init
parente1f91000857fbeb6db23824948f36490659b466e (diff)
r1737: releasing version 4.2.30
Diffstat (limited to 'autoscripts/postinst-init')
-rw-r--r--autoscripts/postinst-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init
index 8128cd96..6a1c5727 100644
--- a/autoscripts/postinst-init
+++ b/autoscripts/postinst-init
@@ -1,6 +1,6 @@
if [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
- if [ -x /usr/sbin/invoke-rc.d ]; then
+ 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#