summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-norestart
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-init-norestart')
-rw-r--r--autoscripts/postinst-init-norestart2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init-norestart b/autoscripts/postinst-init-norestart
index 3445f14..4f1c63f 100644
--- a/autoscripts/postinst-init-norestart
+++ b/autoscripts/postinst-init-norestart
@@ -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
if [ "$1" = "configure" ]; then
if [ -z "$2" -o "$2" = "<unknown>" ]; then