summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init
diff options
context:
space:
mode:
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 159b12d7..051f7747 100644
--- a/autoscripts/postinst-init
+++ b/autoscripts/postinst-init
@@ -1,4 +1,4 @@
-if [ -e "/etc/init.d/#SCRIPT#" ]; then
+if [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
/etc/init.d/#SCRIPT# start
fi